Fetching values from custom field type Label and append it into other issue summary

Leonid Krizhanovskiy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2024

Usecase: 

I'm creating an automation: When Epic is created, auto create a task inside of it, fetch values from custom field type "Label" from Epic, and populate it into task summary. 

My attempts of using [{{triggerIssue.customfield_10037.value.get(0)}}] or [{{triggerIssue.customFieldName.value] were unsuccessful. 

Could you please help? 

1 answer

1 accepted

0 votes
Answer accepted
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 22, 2024

Hello @Leonid Krizhanovskiy 

If customfield_10037 is the labels field,

You can just reference it as {{triggerIssue.customfield_10037}}

which will give you a list of (comma separated) labels.

You can just append it to your newly created issue's summary as belwo for example:

{{triggerIssue.summary}} - {{triggerIssue.customfield_10037}}

If issues, please share screenshot of your rule, Hope it helps. Thanks!

Leonid Krizhanovskiy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2024

Thanks that helped!

Like Kalyan Sattaluri likes this

Suggest an answer

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

Atlassian Community Events