In jira cloud i have
- Two ticket types (pre-approval, and expense approval)
- They are on the same workflow
- What I would like is for when a pre-approval ticket is approved, it automatically generates a reimbursement ticket. So I used a the trigger 'then create new" to create the new ticket.
What I would like to do is transtion the newly created ticket back to to-do, instead of in progress.
Both tickets types skip the first step when are being originally created, but the secondary ticket created from the pre-approval would need to go back to the first stage.
When I run it, I get this error. (jira rule runner - is jira automation
I am wondering if I need to do the transition somehow first, or create it in the 'then create' trigger automation.
Hello @philipf
There are couple of problems with your rule.
Your "expense approval" ticket did not get created because attachment is missing.
If you fix that and the expense ticket did get created, to transition this new issue, you need to "Branch" on the newly created issue so you can transition the expense ticket. Because right now, you are trying to transition the "pre-approval" ticket. which is not what you want from your post.
Finally, there seems to be an issue with even pre-approval getting transitioned back to "To Do".. If all share same work flow, this should have worked (even if it was not what you wanted..).. so you may need to check your workflow steps and manually check if you can move these issues from "in Progress" to "To Do"..
I know it a lot, but try to confirm one thing at a time.. Hope it helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.