Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,246
Community Members
 
Community Events
168
Community Groups

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

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

0 votes
Answer accepted

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 

Thanks, that's what I ended up doing.

For my specific need:

UX - ({issue.key}}
FE - ({issue.key}}
BE - ({issue.key}}

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events