Update Jira status when Crucible review created

What I'd like to do is to update an issue's status to something like "under review" when a Crucible review is created, then when the review is completed in Crucible, use it's workflow integration with Jira to set the status of the issue to "Ready for testing".

Updating the workflow in Jira after the review seems fairly straight forward but what I can't seem to figure out is how to update the issue's status automatically once the review has been created to set it's status. I know I could just update the issue using the workflow but it's inevitable people will forget to do this so I'd like to automate it.

1 answer

This widget could not be displayed.

Two ways I can think of:

  1. Develop a Crucible event listener plugin which can act on All Review completed event and updates back JIRA (transition issue). I am guessing that you should be able to perform the operation on behalf of the user as the applications are trusted.
    1. https://developer.atlassian.com/display/FECRUDEV/Event+Listener+Module+Type
    2. http://docs.atlassian.com/fisheye-crucible/2.1.0/javadoc/com/atlassian/crucible/event/AllReviewersCompletedEvent.html
  2. Run an external script which does a REST call to crucible to get the reviews status and updates JIRA via REST. This is not a plugin, but runs periodically, say every 1 hour and checks the Crucible data.

Thanks for the reply, I'll give that a try and let you know how I get on.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

150 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you