git and stash username link

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 and in such a way that those are recognized by stash?

1 answer

1 accepted

1 vote
Jeff Thomas Atlassian Team Dec 06, 2014

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

I'm not aware of anything available to check the and 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 -

Jeff Thomas Atlassian Team Dec 06, 2014

It looks like the Yet Another Commit Checker ( add-on may be able to verify the commit author. "Require committer name and email to match Stash user"

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,774 views 1 5
Read article

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