Changing Jira ticket state based on Git Stash activity?

On GitHub you can have it so that a merge resolves the state of a ticket described in the commit message, such as "Fix for #3242".

In another environment, where we were using Gerrit, in conjuction with Jira, we had it so that a new patch set would move a ticket from "in progress" to "in review" and the a merge would move the ticket from "in review" to "resolved". The hook would also append the Jira issue with the link to the commit in the Gerrit UI.

We are now moving to Stash, so we would be interested in getting the same or similar functionality.

Does anyone know whether this behaviour can be achieved with Git Stash with Jira? I could probably try writing a hook, but if something already exists I would rather leverage that.

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

372 views 4 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you