Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Code review without a pull request

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

1 answer

@Munish Sharma 

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

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...

130 views 0 2
Read article

Community Events

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

Events near you