The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

git and stash username link

Robbin Bonthond
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 Champions.
December 5, 2014

how does stash match a git username to a stash profile (that's synced via jira)? Also is there a way to ensure that people have setup their git config user.name and user.email in such a way that those are recognized by stash?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2014

Stash matches a users' email address to the user.email property in the commit. If no user is found with that email address, the user.name property in the commit will be displayed in Stash. 

I'm not aware of anything available to check the user.name and user.email of a commit message, but this could be done with pre-receive hook add-on.

There is also a feature request for improving push traceability and what checks Stash would perform based on the author information in the commit - https://jira.atlassian.com/browse/STASH-2642

Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2014

It looks like the Yet Another Commit Checker (https://marketplace.atlassian.com/plugins/com.isroot.stash.plugin.yacc) add-on may be able to verify the commit author. "Require committer name and email to match Stash user"

TAGS
AUG Leaders

Atlassian Community Events