I have a post function to fire subtasks upon a transition and a condition to check whether the subtasks are in a certain status before allowing a transition. I want to know if there is a way to delay the status change. For example, When I click on the "submitted" transition from Status A to Status B I want the following to occur:
Our workflow is that we are sending the subtasks to gain approvals for a document. I don't want the status to change to the next status until all of the approvals are gained, because the issue shouldn't be assigned to the next person until the document is approved. If there is a better solution than what I have outlined above please let me know. Thanks!
There is no way to do that - you're trying to wedge a two-step process into a single step, and that won't work.
There's nothing wrong with your process, you just need to translate it into a better shape in Jira. You actually have three logical steps in your process, not two - what you've described is almost "issue is in limbo between submitted and approved". So:
In Jira, that pans out (in the most simple case) as two three steps:
With two transitions:
I think you can see where the conditions and post-functions fall in that structure.
Part of my problem-and I should have mentioned this-is that there are five subtasks that are fired upon the parent transition. All of the subtasks need to be in Approved status before it is actually moved to the next status. I think I will just have to make a Pending Approval status in the parent workflow because I don't want the ticket to be assigned to the next person until all of the approvals are gained and I'm not sure how to do this without an additional status.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG