Forums

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

Get Smart Commits working Jira & Bitbucket Cloud

Daniel Mannheimer June 11, 2018

Hi there,

I'm just testing Jira for future use, but I can't get the Smart Commits working.

Both applications are linked, I can see the bitbucket repos in Jira.

The commits are visible in Jira under development (e.g. 9 commits Latest 8 minutes ago).

 

But the Smart part is not working like it should in the manual:

JRA-34 #time 1w 2d 4h 30m Total work logged

No work is logged with the commit.

Can anybody help me find the problem?

7 answers

1 accepted

0 votes
Answer accepted
Daniel Mannheimer June 12, 2018

@Hi @Alexey Matveev and all the others stumbling across this:

 

If you want to go for a quick test of Jira and Bitbucket you better not use the Google login feature.

What I did and went horribly wrong:

  1. Create a Bitbucket account using Google login but was not logged in to Google, yet
  2. Logged into Google with myalias@gmail.com
  3. Bitbucket account was created for myalias@gmail.com showing my real name in the user profile
  4. Create a Jira account using Google login, now I was already logged in to Google and Google posted myalias@googlemail.com back to atlassian
  5. Jira account was  created for myalias@googlemail.com showing my real name in the user profile
  6. Connected Bitbucket and Jira, had the repos in Jira, everything looked ok on first sight

But the evil detail was that Smart commits did not recognize the data posted by myalias@gmail.com belonging to myalias@googlemail.com 

You can waste hours on debugging this little detail!

Jaime Silva November 23, 2018

I have followed the manuals and have logged in to Jira Cloud and Bitbucket Cloud with the same email. 

Commits are also made with the same email (logged in via Google with same account on both, have also checked an both apps are linked to same Jira account).

Commits are shown in "Related commits" but can't get Smart Commit working.

Have checked and Smart Commits is enabled for the repository.

I have also checked and my user is able to comment and log time.

I can not figure out what is wrong!

0 votes
Stefan Prelle January 28, 2019

I am experiencing similar problems - but only with classic Jira projects. Next-Gen seems to work fine.

0 votes
Daniel Mannheimer June 11, 2018

I’m with stupid ⬆️

0 votes
DM
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!
June 11, 2018

second account seems to be the problem 

0 votes
Daniel Mannheimer June 11, 2018

Thanks @Alexey Matveev

I'll start over tomorrow, again.

Just fond another issue that might cause the misbehaviour on the help page.

Notes

The committer's email address must match the email address of a single JIRA Software user with permission to comment on issues in that particular project.

 

I did sign up with my gmail account and now there are @gmail and @googlemail entries mixed up over the systems.

0 votes
Daniel Mannheimer June 11, 2018

Hi @Alexey Matveev,

I can log work from within Jira issue view directly with my user.

Bildschirmfoto 2018-06-11 um 22.08.16.png

 

Just the Smart Comment ist not adding any work to the issue.

Bildschirmfoto 2018-06-11 um 22.09.53.png

Could this be a matter of branches?

There is no branch created for the issue I'm logging work for.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2018

I just checked. That is right. The time is logged in only if you have the branch connected to the issue.

Daniel Mannheimer June 12, 2018

As I got it working now, I don't need the branch to be connected directly to have smart commits working.

  • I created two branches (ISSUE-1-1 and ISSUE-1-2) from within the Jira issue and can post Smart commits on these
  • I used my branch existing outside Jira (DEVELOP) and can post Smart commits on this on too as long as I commit ISSUE-1 #time 1w 2d 4h 30m Total work logged
0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2018

Hello,

Are you sure that your user can log work in this issue?

Suggest an answer

Log in or Sign up to answer