Hi Community Members
I have a situation, wherein our organization wishes to implement the below scenario:
A developer working on a JIRA task cannot mark it as Dev Complete unless the code has been reviewed on Gerrit. (+2 done on code)
I was searching for ways how the workflow can be made to wait until the code review is complete and prevent the developer from changing JIRA status for In Dev to Dev Complete.
Do we have a way how we can achieve this.
Thanks
There is a workaround through which you can achieve this.
First make the transition button disappear from jira. You can provide a condition in workflow which is always false (for your specific transition).
So you have removed manual option for your workflow status transition and now you need to make code to initiate this transition on an event in your code repository
Now you can add workflow triggers to move your status to Dev Complete , you can choose Pull Request Merge or Review closed.
Please take a look at this documentation :
https://confluence.atlassian.com/adminjiracloud/configuring-workflow-triggers-776636696.html
When workflow transitions are automated with triggers, permissions around who can move the issue between states are ignored. Same with conditions and validators. But don't fret: conditions, validators, and permissions will still apply for that transition when it's executed manually.
Regards
Prakhar
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.