Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Category (Locked) field and Populating through automation

Hi All,

I'm trying to populate the recently introduced Issue Category field on Work Management Projects through an automation.

I have a cascading dropdown box configured that the users populate during issue creation. I was able to extract the level 1 value of that dropdown into a single line text field, however upon finding limitations in the filtering/grouping of the work management list view - am now trying to move the value from the single line text field to the Category field.

I've already added all the context options that could possibly be entered in that field through the automation, but I'm getting errors.

I've also tried populating the Issue Category field directly from the cascading dropdown, as well as from the Single Line text field I had originally configured.

It won't let me configure this through the simple method, so having to use advanced and I'm not very familiar with JSON coding.

Any help would be massively appreciated.

= Cascading Dropdown box providing value
customfield_10084 = Single Line text field originally configured to take the value from the cascading dropdown.
customfield_10080 = Issue Category (Locked) field trying to populate

This is the code that is currently writing to the single line text field.

"fields": {
"customfield_10084": "{{issue.customfield_10070.value}}"

This is the code that is not working

"fields": {
"customfield_10080": "{{issue.customfield_10084.value}}"

2 answers

1 accepted

0 votes
Answer accepted

Hi All,

So logged a support ticket and the assistance was super fast - same day! :O

And they've provided the correct JSON script to update the issue category value through automation.

So here it is:


   "update": {
      "customfield_10080": [
            "set": {
               "value": "{{triggerIssue.fields.customfield_10084}}"

0 votes
John Funk Community Leader Aug 15, 2022

Hi Sheradyn,

Try this since Category can have multiple values. 


"update": {

"customfield_10080": [{

"add": "{{issue.customfield_10084.value}}"





Thank you for your suggestion, unfortunately it didn't work.

Attempt 1

Error editing issues

TEAM-149 (Field with id' customfield_10080' and name 'Category' does not support operation 'add' Supported operation(s) are: 'set')

After trying to apply what the error suggested, tried again and got the next error.

Attempt 2

Error editing issues

TEAM-149 (Specify a valid 'id' or 'name' for Category (customfield_10080))


After doing some digging, I've tried getting more details using the rest API tools.

           [{"self":"https ://your-domain/rest/api/2/customFieldOption/10217",
          "value":"[BM] Bid Management",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10218",
          "value":"[BI] Billing & Invoicing",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10219",
          "value":"[CR] Cost Recognition / GL",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10220",
          "value":"[NB] Non-Billable Projects",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10221",
          "value":"[OB] On/Offboarding",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10222",
          "value":"[OCS] OCS",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10223",
          "value":"[OP] Operations",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10224",
          "value":"[PA] Project Activation",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10225",
          "value":"[PM] Project Management",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10226",
          "value":"[RC] Recons",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10227",
          "value":"[RM] Resource Management",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10228",
          "value":"[RPT] Reporting",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10229",
          "value":"[RR] Revenue Recognition",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10230",
          "value":"[SO] Security & Organization",
          {"self":"https ://your-domain/rest/api/2/customFieldOption/10231",
          "value":"[TE] Time & Expense",

John Funk Community Leader Aug 16, 2022

I would open a support ticket with Atlassian - that field is new and everything might not be set up for it.

Please post back here with the resolution. 

John Funk Community Leader Aug 18, 2022

Well, I was close! It was the triggerissue instead of just issue. 

Glad it is working for you!

Like likes this

Yeah, thank you! :)

I had no idea how to phrase the query. :P

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events