Forums

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

Add parent summary to subtask Summary

Viral Patel June 13, 2023

Hello 

I have an automation where a isssue (Test2) is created a subtask called Legal gets created but i want to code the subtask summary to Legal - Test2)

 

I did try {{issue.parent.epic.summary}} - Legal Review

but when the rule runs it only shows - Legal Review?

Thanks

Viral

 

jql.PNG

3 answers

2 accepted

0 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2023

Hi Viral,

Try using Legal Review - {{issue.parent.summary}}

Viral Patel June 13, 2023

Hi @John Funk 

Thank you for the quick response!

I tried that buts its the same issue. Please see the images below.

 

jql.PNG jql2.PNG

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2023

Okay - it must be setting that prior to recording the parent. The triggerIssue is actually what I use the most myself. 

And if you want the parent ID,  just use {{triggerIssue.key}}

Viral Patel June 13, 2023

Perfect that worked! thank you so much!

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2023

Awesome - glad that worked!

0 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2023

Hi @Viral Patel,

There is some essential information missing in your screenshot to be 100% sure about how you set up your automation rule, but try this instead to refer to the summary:

{{triggerIssue.summary}} - Legal review

That syntax should inherit the summary from the issue that triggered your automation rule. 

Hope this helps!

Viral Patel June 13, 2023

Hi @Walter Buggenhout 

 

Thank you for the quick response! that worked perfectly!

IF I want to add the parent ID was would be the syntax for that?

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2023

You mean the issue key, @Viral Patel? If so:

{{triggerIssue.key}} {{triggerIssue.summary}} - Legal review
0 votes
Benny
Contributor
June 13, 2023

Hello Viral,

You can just use {{issue.summary}}, because the current context is your trigger issue (current issue).

Hope this help.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events