Forums

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

jira ticket by pull request

praetorian guard
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!
January 22, 2020

hi is there a way to get a jira-ticket created when there is a pull request on one of our repositorys?

2 answers

0 votes
Andra Dinu
Contributor
January 24, 2020

Hi @praetorian guard 

You can create a Jira ticket when there is a pull request on a repo and many other customisations by using event handlers in ScriptRunner for Bitbucket.

For your use case you could just tweak this handler with an update on the Jira REST API call so it creates a new issue, rather than update an existing one. 

 

Cheers,

Andra (Marketing for ScriptRunner)

0 votes
Mikael Sandberg
Community Champion
January 24, 2020

Hi @praetorian guard,

Bitbucket do not have that functionality out of the box, so you would have to find an app that allows you to do that. You should be able to do it using Scriptrunner. I did a quick search in the Marketplace and found Issue creator for Bitbucket, it allows you to create issues based on open tasks in the pull request. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events