Skip to content

Instantly share code, notes, and snippets.

@danielcosta
Last active November 7, 2023 21:03

Revisions

  1. danielcosta renamed this gist May 21, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. danielcosta renamed this gist May 21, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. danielcosta renamed this gist May 21, 2013. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. danielcosta created this gist May 21, 2013.
    40 changes: 40 additions & 0 deletions gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    # 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](http://i.imgur.com/XrKcHb6.png)

    #### 2. Advanced tab

    Open **Advanced** tab and on *Commit Text Replacements* block click **Add**

    ![Parte 2](http://i.imgur.com/suxu3ec.png)

    #### 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](http://i.imgur.com/N7BQEAs.png)

    #### 4. Link to JIRA

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

    ![Parte 4](http://i.imgur.com/p72624M.png)


    ### And more?

    Follow [@danielcosta](http://twitter.com/danielcosta) on Twitter for the latest news.