Create a commit and pull request from Jira to Bitbucket

nico kalde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 7, 2024

I'm trying to take the description from my issue and when issue transition from "to do" to "in progress" create a branch, commit the description from the issue in a json file into a folder in bitbucket and then create a pull request.

Can I do this with any tool of Jira Service Management?

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2024

I don't think that there is a app available for this purpose, as it sounds overly specific.

But, all the components provide APIs and you can always use ScriptRunner and custom Groovy scripts to solve specific automations.

You would need:

  1. a listener in Jira that captures status changes
    1. access the issue details
  2. connect to the Bitbucket REST API and
    1. create a commit
    2. create a PR
nico kalde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2024

I will try to use ScriptRunner for this automation.

Thanks for your answer!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events