Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-92013

Set values to custom fields created via connect add-on via text instead of ID

    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently if there are custom fields created via a connect app, values for these connect add-on Custom field cannot be set directly via text.
      We can only set values via the custom field value ID's.
      It would be great if Jira API supports listing of values that can be set for such field directly or atleast be able to set text values like we set values of custom fields directly created in Jira.

      Workaround
      Use the Get Issue metadata API to get the values that can be set for these custom field.
      Capture the ID.
      Use this ID to set the custom field value via Edit Issue API via the following code block:

      {
          "fields": {
              "customfield_xxxxx" : ["<id_captured from_get_edit_metadata>"]
          }
      } 

       

              Unassigned Unassigned
              422f530d75ad Arjun Ganapathy
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: