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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

211 views 1 18
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