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.
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.