Hi,
We are trying to create a change management project and one of the requirements we have is that if an issue type is created that the sub task must have the prefix for the main issue, followed by a unique number
So for example the issue number is CM-13 and then each sub task created within the issue is as follows
CM-13-1
CM-13-2
CM-13-3
I found some older posts about this from a few years ago and one was for server.
So my question is, is this possible in server cloud and if so, how can it be done?
Any help would be greatly appreciated.
Thanks, Peter
Hi @Peter Grainger - You could try something like this with automation:
Parent = {{issue.parent}}
{{issue.parent}}-{{lookupIssues.size}}
Hi @Mark Segall , Thanks for the reply. What is the result of creating the above mentioned automation? When I try to create the 2nd action it does not give me the option to enter the JQL query, only a description for the issue, am I missing something? Thanks, Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's not a query. These are smart values which are known variables that you can provide Jira.
{{issue.parent}}-{{lookupIssues.size}}
Breaking this down:
Putting it all together, let's say that you've created your first sub-task on issue key CM-13
The second would make CM-13-2 and so on.
Hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.