Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Copy project key all the way to subtask summary

Ahbosch
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!
February 13, 2025

I want to copy the main project key example "AB-1" to a Task Summary to begin with AB-1 - summary, (Which I can do via automation), but then from that Task create a sub-task and again copy the AB-1 into the summary.

This way I can easily see what sub-tasks belong to each project.

This is my current automation call for the Project key:
{{issue.parent.key}} - {{issue.summary}}

I'm also trying to find a way to copy a custom field into the summary, but I haven't found a way yet. 

Any help on this would be appreciated. 

1 answer

0 votes
Vishal Biyani
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.
February 13, 2025

@Ahbosch 

Using Create Issue Trigger you can check for parent summary and copy it.

Can you share the screen shot of your automation to understand the flow better?

Ahbosch
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!
February 18, 2025

Thank you for taking the time to assist me with this. 

This is what it's creating:
Jira Screenshot.jpg

here is the automation:
Jira Automation.jpg
What I would like to see is to have CP-236 to display "CP-1 - W2401 -{{issue.summary}}"
And the same for the sub-task:
Instead of getting the key from the task to get it from the project, have CP-237 display "CP-1 - W2401 -{{issue.summary}}"

Vishal Biyani
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.
February 19, 2025

@Ahbosch 

When you need to update subtask summary, use

{{triggerIssue.parent.parent.key}} - {{triggerIssue.summary}}

When you need to update standard issue summary, use

{{triggerIssue.parent.key}} - {{triggerIssue.summary}}

 

See sample automation that i created for your understanding. I used manual trigger, you can have the trigger based on your use case, like Create Issue etc...

 

snip.png

Suggest an answer

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

Atlassian Community Events