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
4,294,625
Community Members
 
Community Events
165
Community Groups

Jira Automation (Cloud) Cascading Fields Copied from Trigger Issue

I know this has been asked before, but I can't get it to work for my life.  My rule is as follows

Using Jira Premium

1. Create an Initiative 

2. Copy various standard fields to the new issue and link the new issue to the Initiative via

{
     "fields": {
          "Parent link": "{{triggerissue.key}}"
     }
}

This works great and is pretty standard.

 

3. When I add this within the "fields" block, it doesn't work.

"Development Department[Select List (cascading)]": {
        "value": "{{triggerIssue.fields.Development Department[Select List (cascading)].value}}",
            "child": { "value" : "{{triggerIssue.fields.Development Department[Select List (cascading)].child.value}}"
             } 
     }

 

I've tried using "customfield_10182" with no luck and various other ways, I think to update these fields. 

 

Any help would be GREATLY appreciated. 

2 answers

2 accepted

Hey, @Jeff Edwards !

I think this can be help you

{
"update": {
"CUSTOM_FIELD_NAME": [
{
"set": {
"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.value}}",
"child": {
"value": "{{triggerIssue.fields.CUSTOM_FIELD_NAME.child.value}}"
}
}
}
]
}
}

 Other informations you can see here: https://community.atlassian.com/t5/Jira-questions/How-Copy-Cascading-felid-value-from-Epic-to-Task/qaq-p/2029643#M535497

 

If this doesn´t work for you, please, tell us more information about what you really need and back with prints about wrong message that you received.

Best,

Thank you very much 

Like John M Funk likes this
1 vote
Answer accepted

Hi Jeff - Welcome to the Atlassian Community!

How about his:

{
  "update": {
    "Development Department": [
      {
        "set": {
          "value": "{{triggerIssue.fields.Development Department.value}}",
          "child": {
            "value": "{{triggerIssue.fields.Development Department.child.value}}"
          }
        }
      }
    ]
  }
}

Thank you very much

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,230 views 35 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you