Skip to content

Instantly share code, notes, and snippets.

@danielcosta
Last active November 7, 2023 21:03
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save danielcosta/5620616 to your computer and use it in GitHub Desktop.
Save danielcosta/5620616 to your computer and use it in GitHub Desktop.
Learn how to integrate your SourceTree repositories with JIRA

Integrating JIRA with SourceTree

Overview

You will learn how to link your JIRA tasks directly on SourceTree

Step by step

1. Setting

Open your repository browser on SourceTree and click Settings located top-right.

Parte 1

2. Advanced tab

Open Advanced tab and on Commit Text Replacements block click Add

Parte 2

3. Commit text replacement

On Replacement Type dropdown select JIRA Project Link option.

On Project Prefix field type your project prefix (ex. MEBLO)

On Hosting URL field type root URL of your JIRA (ex. https://rocketbrasil.jira.com)

Parte 3

4. Link to JIRA

All commit comments with [PREFIX-NUMBER] will have a link on SourceTree directly to the associated JIRA task.

Parte 4

And more?

Follow @danielcosta on Twitter for the latest news.

@sunk818
Copy link

sunk818 commented Mar 24, 2016

Works like a charm. I was thinking integration like resolving JIRA issues with a commit from SourceTree as an option. In the meantime, this will do.

@goBazinga
Copy link

Worked well, thanks !!!

@shijinliang
Copy link

need to set up JIRA?

@27prajaktapatil
Copy link

Does this work on Global JIRA or is it have to be only GEC JIRA ?

@garen-men
Copy link

Worked well, thanks !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment