Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation (Cloud) Cascading Fields Copied from Trigger Issue

Deleted user May 17, 2022

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

3 votes
Answer accepted
Fernando Eugênio da Silva
Community Champion
May 17, 2022

Hey, @[deleted] !

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,

Deleted user May 19, 2022

Thank you very much 

Like John Funk likes this
2 votes
Answer accepted
John Funk
Community Champion
May 17, 2022

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}}"
          }
        }
      }
    ]
  }
}

Deleted user May 19, 2022

Thank you very much

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events