Project

General

Profile

Actions

Feature #35216

closed

Create/Update custom fields via API

Added by Luny Luny over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

To maintain my custom fields I would like to update the values with a job using the API

PUT http://redmine.org/custom_fields/8
        <id>8</id>
        <name>ApiTestField</name>
        <customized_type>issue</customized_type>
        <field_format>list</field_format>
        <regexp></regexp>
        <min_length/>
        <max_length/>
        <is_required>false</is_required>
        <is_filter>false</is_filter>
        <searchable>false</searchable>
        <multiple>false</multiple>
        <default_value></default_value>
        <visible>true</visible>
        <possible_values type="array">
            <possible_value>
                <value>1</value>
                <label>1</label>
            </possible_value>
            <possible_value>
                <value>2</value>
                <label>2</label>
            </possible_value>
            <possible_value>
                <value>3</value>
                <label>3</label>
            </possible_value>
            <possible_value>
                <value>4</value>
                <label>4</label>
            </possible_value>
            <possible_value>
                <value>5</value>
                <label>5</label>
            </possible_value>
            <possible_value>
                <value>5</value>
                <label>5</label>
            </possible_value>
            <possible_value>
                <value>6</value>
                <label>6</label>
            </possible_value>
        </possible_values>
        <trackers type="array"></trackers>
        <roles type="array"></roles>

Related issues

Is duplicate of Redmine - Feature #9664: CRUD operations for "custom field definitions" (not setting custom fields on issues!)NewEtienne Massip2011-11-25

Actions
Actions

Also available in: Atom PDF