How to add the parent summary to the subtask summary

Amit Anand September 10, 2020

Need to implement: How to add the parent summary to the subtask summary

parent task summary = "Test summary"

sub-task with summary  ="Subtask summary"

Sub-task summary should be change to "Subtask summary-Test summary"

3 answers

1 accepted

4 votes
Answer accepted
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 10, 2020

You can use Automation for Jira for it. Go to project settings > Automation > New rule

Trigger: issue created 

Condition: issue-type: sub-task

Action: Summary: {{issue.summary}} - {{issue.parent.summary}}

 

Here a screenshot:

image.png

Marja Kalinke March 18, 2024

@Rudy Holtkamp  Im trying to use this for updating "legacy/old" issues in jira:

project = "XXX" AND issuetype = Task AND createdDate <= now()

automation 01.jpg

and 

2automation 01.jpg

 

Its is running and saying it is a succes, but still, when I open the tasks, the file "Epic name" is not updated:

automation 03.jpg

automation 04.jpg

Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 20, 2024

You can take a look at the history of DAA-2044, and see if something has been updated.

You could also add a log action in between, with {{issue.key}} - {{issue.parent.key}} - {{issue.parent.summary}} to see the values 

And remove the check here:

image.png

Otherwise you might get not all the issues you expect.

0 votes
Srinivasa Rao Suravarapu December 21, 2022

{{issue.parent.summary}} -- sorry for the typo

0 votes
Srinivasa Rao Suravarapu December 21, 2022

{{issue.parent.summart}} is not solving the purpose here. I think there are few values supported as per the documentation

 

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issue

Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 21, 2022

Hi Srinivasa,

The solution still works, just tested the automation rule.

image.png

Srinivasa Rao Suravarapu December 21, 2022

No. This worked me 

triggerissue.summary

Like # people like this

Suggest an answer

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

Atlassian Community Events