Missed Team ’24? Catch up on announcements here.

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

How can I trigger a pull request on issue transition in JIRA?

Matt Shelton October 2, 2014

The new trigger support for JIRA is fantastic, save one workflow. If the QA team tests on a feature branch, we'd like to automatically create a pull request into the release branch as soon as they finish testing. The current workflow had an "In Review" status which transitions to resolved. On transition, we would like to have Stash automatically create a pull request.

It seems like the workflow support only goes the other direction: actions in Stash trigger workflow actions in JIRA.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2015

You will have to create a script for this that sends a POST call to the Stash API. The JIRA post-functions can be able to handle this. I have used JIRA Transitions to trigger jenkins jobs.

I am using the second one which gives me more freedom.

TAGS
AUG Leaders

Atlassian Community Events