I have an automation that creates multiple child issues for various types of tasks. What I would like to do is be able to take the key of the parent without the Project identifier and include that as a prefix to the child summary.
Current Solution
Future Solution
Is there a way to manipulate the key when inserting it into the summary?
I know as part of the automation i can include the Key which results in ABCD-1234 Task: Do this and that but can i remove the project identifier?
Ive tried a few items to include and a few other but nothing returns.
{{issue.parent.key.right(5)}}
{{issue.parent.key.remove("ABCD-")}}
Any help is appreciated.
Hello @Lopez, Dominique
Welcome to the Atlassian community.
This should work:
{{issue.parent.key.substringAfterLast("-")}}
If it doesn't work, please provide a screen image showing your entire rule, and a screen image showing the details of the step where you are trying to use the smart value.
Thanks for the recommendation! Initially it did not work for me but it was not necessarily the manipulation aspect of it. Because of how the rule is setup i didn't have to use issue.parent.key and i just used issue.key.
{{issue.parent.key.substringAfterLast("-")}}
{{issue.key.substringAfterLast("-")}}
This was able to give me what i needed, Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.