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

Gabor Peter January 23, 2017

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
Adam Wride
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.
January 24, 2017

@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 https://ecosystem.atlassian.net/browse/AC-1014 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.
Adam
/cc @Tarun Sapra
Gabor Peter January 24, 2017

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.

Regards,

 

Adam Wride
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.
January 24, 2017

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

Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 25, 2017

Thanks @Adam Wride for the clarification

0 votes
Gabor Peter January 24, 2017

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 24, 2017

Maybe then you should raise a ticket in Atlassian support.

0 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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.

Suggest an answer

Log in or Sign up to answer