Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-36112

Add REST API (PUT, POST, DELETE) for custom field options

    XMLWordPrintable

    Details

    • UIS:
      98
    • Support reference count:
      21
    • Feedback Policy:
      We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Currently the REST API supports the GET method on api/2/customFieldOption/

      {id}

      With support of PUT (or POST) operation on that URI additional workflows would be supported.

      Use Case: a system manages some mostly automatic process. When manual intervention is required the system opens an issue in Jira. Ticket resolution includes assigning a value to a field, accomplished via a Jira Custom Field. The domain of options, however, is managed by the system and any selected option must be valid within that domain. Since the system is used to add options to itself - stored in a database table - to ensure the automated parts and the Jira workflow parts work well together the sets of possible options need to stay in-sync. As part of its processing the system can create new option values within itself. Adding the ability to PUT/POST the Jira custom field option values would ensure data integrity and consistency across the automated and more manual, Jira-driven parts of the workflow.

      As for needs, either a simple PUT with the full set of option values included in the request, or the ability to add and delete individual option items would work.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ezra_epstein eepstein
              Votes:
              134 Vote for this issue
              Watchers:
              96 Start watching this issue

                Dates

                Created:
                Updated: