Skip to main content
Skip table of contents

Setting Prime Custom Fields With Jira Automations

To set a Prime Custom Field with the Edit issue action of a Jira Automation, you need to expand More options and edit the JSON under Additional fields as needed.

image-20240703-113022.png

The following JSON is an example is for setting a Prime Custom Field to a single value with 3 levels. Please be aware that the array brackets are also needed if there is only a single value under “values”.

JSON
{ 
"fields":{ 
  "customfield_11698":{ 
    "values":[ 
      [ 
      "Animals", 
      "Dogs", 
      "Lil Dogs" 
      ] 
    ], 
    "leafValue":[ 
      "Lil Dogs" 
    ], 
    "fullValue":[
      "Animals - Dogs - Lil Dogs" 
    ] 
  } 
} 
} 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.