Hi!
I feel like I'm missing something with the way Jira automation rules work.
I have a Service Desk and I want to create a rule so that when a particular request type is raised it creates a sub-task. Then when that sub-task is marked as done I want another sub-task to be created.
So I'll have a service desk request (new supplier) and when someone raises it, a new sub task will be created and assigned to them (negotiate Ts & Cs) and then when that sub-task is marked as 'done' another sub-task is created (sign contract).
Any help much appreciated
I'm noticing a few problems in the rule you posted on 6-Mar-2022.
Hope that helps!
Thanks @Mykenna Cepek
I thought I had tried moving the action under that side of the branch but you were right and it worked!
Good shout on tightening up the criteria now that it's working, I will do
Thanks again :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stuart,
You should be able to do that with Automation For Jira. Here's some infromation to get you started. Once you have a rule started, feel free to post back here for additional help.
There are two types of automation:
Automation Basics: https://www.atlassian.com/software/jira/guides/expand-jira/automation
You can do this via global rules to apply to all projects also. You'll need to be a Jira Admin/Site Admin, go to Jira Settings > System > Automation Rules (left-hand menu).
For more on using Automation For Jira see these help pages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks John,
I've got quite a few rules in production that work well.
I only want the rule to apply to one project.
the automations we have set up save a lot of time creating Sub-tasks but they are all triggered from the creation of the issue in the service desk.
I've tried branching to use 'for most recently created issue'
If: status equals Done
But that didn't work. Any pointers would be much appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can have the rule only apply to one project.
Can you share the rule you have so far? And what's not working about it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @John Funk
Bit of a delay but still need to work this out. My automation looks like this
Then the log gives me this
I want to create a sub-task, it works fine for task but gives the issue in the logs above when I try and do it for sub-task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the screenshot. I can see that the action of the automation rule is attempting to create a subtask on an existing subtask, which is why it's failing to work.
Try instead to place that "Then: Create a new" subtask action so that it's nested under the "For Parent" branch instead. This should let that issue be created as a subtask of that parent issue then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Andy Heinzer
I thought I had tried that, and Mykenna advised the same - you are both right!
Excellent, I'm very pleased it worked :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Andy Heinzer - out of interest, do you know how long the "For Parent" branch has been a feature? Has it always been there?
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.