Summary in Subtask

Brad Schultz
Contributor
November 15, 2024

 

I have an automation created so sub-tasks are automatically put when an issue is created. I need the summary from the main issue show in each sub-task.

1 answer

0 votes
Samuel Gatica _ServiceRocket_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2024

Hi @Brad Schultz 

 

You can use the smart value:

 

{{triggerIssue.fields.summary}}

 

Best regards

Sam

Brad Schultz
Contributor
November 15, 2024

Were should I enter the smart value?  Screenshot 2024-11-15 at 12.32.42 PM.png

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.
November 15, 2024

Hi @Brad Schultz 

Where do you want the parent issue's summary to appear in the created Sub-tasks?

For example, let's say you wanted it as a prefix to the Sub-task's Summary.  When you create the Sub-task you could enter this in the Summary field for the create action:

{{triggerIssue.summary}} -- here is the subtask summary

 

Kind regards,
Bill

Brad Schultz
Contributor
November 15, 2024

awesome!  Worked like a charm, thanks!

Like # people like this
Brad Schultz
Contributor
November 18, 2024

One more question.  How can I update the open Issues to reflect this change.

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.
November 18, 2024

Brad, what do you mean by "open issues"?

For example, do you mean any existing sub-tasks which do not have the prefix of their parent's Summary?

Brad Schultz
Contributor
November 18, 2024

Correct.  Can those be updated with the Summary

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.
November 18, 2024

Maybe...

The key is: can you find them somehow with JQL.  If you can, you may use a scheduled trigger rule to find / update them.  Then let the rule run until it is "caught up", and then disable / delete the rule.

Unfortunately, I do not believe the delimiter I suggested of a double-hyphen -- between the values can be found with JQL.  So you would need to change that to something else for this to work.

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events