Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any way to create a review in crucible automaticallyon workflow transition of Issue in JIRA

Ravi Kumar
Contributor
July 17, 2017

My use case is to create a review in crucible on workflow transition of issue in JIRA. I am not able to find any solution for this. Please suggest.

for example: once developer commits his code changes for a JIRA issue and moved the JIRA issue from "In progress" to "In Review" state. JIRA should create a review in crucible automatically for all changeset for that issue.

Thanks in advance.

1 answer

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 18, 2017

Hi Ravi,

You can use Smart Commits to transition JIRA issues from Crucible and make the review from the status you transitioned to, however, at that point you would need to use some automation in the Postfunciton to perform the review portion for you.  I would look into an add-on such as Bob-Swifts Atlassian Command Line Interface (CLI).

Cheers,

Branden

Ravi Kumar
Contributor
July 19, 2017

Hi Branden,

 

Thanks for reply. I am writing a groovy script using script runner plugin. I have added the custom code to JIRA workflow post function and I am able to create review automatically in crusible by calling post rest api method.

 

Now the problem is I am not able to get the changeset from JIRA issue. currently i have to hardcode the changeset id in the body of post rest api.

 

can anyone can suggest me how to get changeset id of commit for the JIRA issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events