I have an automation that creates a new issue when certain criteria are met. In the new issue, I'd like to set the status to Backlog if the trigger issue is in Backlog status, otherwise, I want the status to be New. Is there a way to do this? Maybe in the JSON/advanced options?
HI @Nicole Baratta ,
Could you please provide a screenshot of your automation rule for better understanding and analyzing a fitting solution?
Best
Stefan
So, the workflow for the project that triggers the automation is:
The workflow in the project where the new issue is being created it:
And the automation:
So, the trigger issue workflow starts with Backlog and the created issue workflow starts with New. But if the trigger issue is in Backlog I want the status of the created issue to be Backlog too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I partially agree with @Fernando Eugênio da Silva and @Aditya Sastry .
The if/else might be your choice. I see 2 ways here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I need to revise my last message: you could solve use with only using an if
Hope all the inputs could help. Happy automating ;)
In case of any further questions: Just let us know.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nicole Baratta ,
If the solution works please consider to accept the answer so that this question is marked as solved.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Stefan Salzl this sounds the most promising, but it's not working. I wonder if it's cause the branch applies to the trigger project and not the target project.
The audit log says it didn't find anything that matched. But the trigger issue was in the Backlog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please add the full audit log ouput?
How is the rule configured in rule details? Keep in mind that if the rule affects or is affected by more than 1 projects the rule need to be configured as multi project or global rule.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's exactly what I was missing. This rule is project-specific, so I need to make it multi-project or global. Thank you so much!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome. Happy that it works ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please also consider this answer as accepted as there was the solution within it. That will make it more traceable for users in the future if they are facing similar problems and searching for a solution (easier to see which answer offers an accepted solution).
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nicole Baratta This is how I have configured the if else in my automation and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wouldn't it be the case that you use IF/ELSE conditions in Jira Automation??
I don't fully understand your situation, but maybe using IF/ELSE will help.
If it doesn't work, can you come back with more details?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My answer above to Stefan might clear it up. But your idea might work, I could just repeat the automation and have the status different in the IF than in the ELSE.
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.