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.
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 :
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.
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events