Fetch labels from specific issue using smart values

Endre Szekacs
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!
March 26, 2024

Hello @ all,


i have a question regarding automation in Jira. Following situation: I have a chain of automations running subsequently. Based on specific conditions I want to copy specific labels to a new issue from issues already created in previous automations. This requires that I fetch the labels of specific, already created issue using smart values. So what  tried to do is:

- Trigger the automations using webhooks

- Providing additional data in the webhook body

- Trying to fetch the labels using those values


The payload  in http request: looks like this (please don't wonder why there is everywhere "triggerIssue.key" this will change):


"issues": [
"data": {
"parentIssue": "{{triggerIssue.key}}",
"predecessorIssue": "{{triggerIssue.key}}"


In the destination automation rule I then want to fetch the labels of the "parentIssue" and add them to a newly created epic. So I added to the labels field of the new epic the following smart-value: {{webhookData.parentIssue.labels}}


Howeber, this does not work. Does anyone have an advice for this issue? 


Thank you in advance for your support.


Best regards





1 answer

0 votes
Bill Sheboy
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.
March 26, 2024

Hi @Endre Szekacs -- Welcome to the Atlassian Community!

Context is important for automation rule questions, and there seems to be quite a bit happening in your rules.

I recommend first posting an image of your complete automation rule(s), images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

To get the issue keys from your webhook data, you could try to reference the smart values directly or use the text functions, including match().  With the key, a lookup issues action with JQL could then load the issue data for use in your issue create action of the new epic.

Kind regards,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events