Hi,
I have set up a rule to auto recreate a task and sub task within the parent task, I would like the sub task status to transition to planned in line with the Parent task how do I do this please ? I am using Team Managed next gen.
I believe you do this with the same technique of branching on created issues, but alter your rule to guarantee the sub-task(s) are created first by changing the first branch. For example:
Kind regards,
Bill
Followed those steps and afraid it does not work, it falls over on the JQL step, is there another way of doing this without using the JQL step ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Darren, when you note it falls over on the JQL step, what do you observe happening and what do you see in the audit log? Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry; my bad...it appears to be a bit more complicated as I just discovered...
{{createdIssue}} and {{createdIssues}} do not appear to return sub-tasks created in a rule!
So here is the work-around for this which I tested and believe works as you asked:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry but I am finding your instructions really hard to follow, are you able to take a screen shot of your example created please as I can't get it to work.
I don't know what the below means or how to create it, I am new to JIRA.
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.
Hi Darren,
It appears you have a typo in your JQL for the branch. Here is an image of my test rule to do what you asked.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bill Sheboy Thank You however I still can't get it to work so just going to leave the sub tasks as new request status, when I enter the JQL it won't let me validate it, the validate button is greyed out, If I run it exactly as you have advised and it does not work the sub task stays as New Request so just going to leave this now I think. Thank You anyway unless you can expand the JQL branch showing me it has been validated and screen shot that for me.
Also just checking your doing this in Team Managed Next Gen ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried this for team-managed and company-managed.
That JQL references a smart value, so you cannot validate it in the rule at design-time (which is why the button is grayed out):
issuetype = Sub-task and parent = {{createdIssue.key}}
We have extra issue types in our instance, so perhaps also check what the name of your issue type is for a "sub task". You may confirm this by running an example of that JQL stand-alone in advanced filter search, such as:
issuetype = Sub-task and parent = DGOV-424
I believe that was one of your tasks, correct?
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.
Awesome! I am glad to learn you got it to work.
__Bill
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.