Using Jira Cloud.
I am building an expense approval workflow, and part of that is an automation for pre-approval tickets to create a refular expense approval ticket when it hits a certain status. No issues there.
Where I am having issues is that an attachment is a required field in the pre-approval and regualr approval expense tickets. But when the automation fires when the pre-approval ticket hits the approved stage, it should generate the regaular approval ticket, copying over all fields.
I am getting an errir that the new ticket couldn't be created because there was no attachment.
Is this an order of operations thing?
Screen shot attached of error and rules.
Note, i have seperate workflows for teh two different ticket types. I am thinking maybe make the attachment not required on the regaulr approval workflow until it gets to a later stage. But I would still like to copy over the original attachment
I was able to get this to work, and then both tickets disappeared simply creating two workflows for each ticket type. The tickets were created and when I went back to the board both were gone,
and got this error message,
Hello @philipf
I think the transition (creation a ticket type: Expense Reimbursement ) has a condition that "Attachment" is required.
I not sure but somehow the action "Create issue" with copy attachment from trigger issues is conflicting, and may not align with the expected order of operations, as you mentioned.
Can you check this part? If an attachment requirement exists, you may need to delete it in order to create a new issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think that is going to be it, I am going to remove the attachment is needed requirement on the field in general, and see if I can have the requirement come in during a transition.
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.