The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How can I add a string before an issue name or key when creating sub-tasks?

Jose Vazquez
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!
January 23, 2020

I want to have 3 sub-tasks added when a new Story is created. So far, I tried with:

"UX - ".concat({{issue.parent.key}})
UX - {{issue.parent.key}}
FE - {{issue.parent.summary}}

The expected result is:

  • UX - PROJ-1234 (or UX - This is the parent summary)
  • BE - PROJ-1234 (or BE - This is the parent summary)
  • FE - PROJ-1234 (or FE - This is the parent summary)

(where PROJ-1234 is the parent id)

TIA

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mohamed Benziane
Community Champion
January 27, 2020

Hello @Jose Vazquez 

Try the following :

UX - ({{issue.key}})
UX - {{issue.key}}
FE - {{issue.summary}}

"Issue" is refering to the issue that you are just being created (so the parent of the subtask)

Hope this helps 

Jose Vazquez
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!
January 27, 2020

Thanks, that's what I ended up doing.

For my specific need:

UX - ({issue.key}}
FE - ({issue.key}}
BE - ({issue.key}}
TAGS
AUG Leaders

Atlassian Community Events