Git integration Smart Commits, is not logging the worklog to the proper user.

We changed to gitlab and we found the addon-com.xiplink.jira.git.jira_git_plugin addon to keep seeing commits on our tickets and auto time logging.

However time is not logged to the proper user who commited, but the "JIRA git connector" user. This way we cannot track the time spent PER user on a ticket.

Is there a solution for this?

3 answers

0 votes
Tarun Sapra Community Champion Jan 23, 2017

Hello @Gabor Peter


Make sure the username which is committing the code is the same in JIRA along with the same email address, if that's not the case then JIRA git connector user might be getting used.

Hello @Tarun Sapra

We have the username and e-mail matching with JIRA in the git commit, still it says "Git for JIRA Cloud logged work - 24/Jan/17 12:49 PM"

So it is unfortunately not working sad (Used to work with Bitbucket without any issue)

Tarun Sapra Community Champion Jan 24, 2017

Maybe then you should raise a ticket in Atlassian support.

@Gabor Peter - 

Thanks for posting this question. I am a partner at BigBrassBand - the company supporting the Git Integration for JIRA Cloud/Server add-on.
What you are seeing is the current functionality - though it certainly is not the intended functionality. Right now we are limited by the Atlassian Connect APIs that don't allow us to match your JIRA users with the email address from the git commit. This means that we cannot pair the time log from the smart commit with the JIRA user. All we are able to do is assign the time to the JIRA issue.
We're currently waiting on to be implemented by Atlassian. Atlassian did finish another key feature we needed a few months ago - but we will need AC-1014 to be finished before we can tie JIRA users to git commits. 
We are following that JIRA issue and have contacted Atlassian about how it impacts us. I would encourage you - if you are able - to tell Atlassian that this is an important improvement to JIRA Cloud for your team (this can be done by voting, watching and even commenting on AC-1014).
Happy to answer any follow up questions as well.
/cc @Tarun Sapra

Dear Adam!

Thank you for the quick answer, really appreciated!

That's really a shame that this is not possible, this is quite an important feature. I went over the issue page and although for some reason i'm not able to leave a comment I started to watch the ticket and voted for it.

In the meantime we'll quickly develop a GitLab -> JIRA connector PHP script that will receive the webhook from GitLab and do this task, as the simple rest api should have this capability.

We'll deploy our code to GitHub for free sharing so others can use it if they are interested by deploying it to their own ecosystem.



@Gabor Peter - thank you for voting for that feature. Hopefully we can raise its profile so it gets completed soon. Cheers.

Tarun Sapra Community Champion Jan 25, 2017

Thanks @Adam Wride for the clarification

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

72 views 3 3
Join discussion

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