Forums

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

Can I do smart commits on bitbucket integrated with jira, using SOURCETREE?

Gabriel Guivisdalsky
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!
September 13, 2018

Supose I create a branch from an issue. Then I work and make commits with sourcetree to that branch. How can a do a smart commit within sourcetree making changes on that issue?

How can i create a branch on sourcetree that represent an issue jira?

 

 

1 answer

0 votes
Alyss
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2018

Smart commits are a function of the app-link between Jira and Bitbucket. 

To setup the app-link (if you haven't already):

The development panel in Jira can create branches related to an issue in Bitbucket. You can then use SourceTree to make a commit containing the Jira issue ID (e.g. git commit -m “JIRA-231 fix typo"). 

Separate from smart commits, SourceTree can use issue IDs to create a hyperlink to that issue. The settings to enable that are per-repository. 

  1.  Click 'Settings' on the top-right of the repo window toolbar
  2. Go to the 'Advanced' tab
  3. Fill in your project prefix and Jira instance URL under 'Commit Text Replacements'

For a guide with screenshots, take a look at this post.

Gabriel Guivisdalsky
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!
September 15, 2018

So, if I don't use commands,  I can achieve this only with the commit message within source right ??

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events