markdown, set variable for current user

Does Stash provide a way to display the current logged in user in the markdown?

When I create a new repository in stash there is a readme like file where is has the current logged in user displayed. Is this functionality available in markdown?

 

Example:

 

    git clone http://USER_NAME@stash.com/project/repo/codebase.git


if I was logged into stash I would see this instead


    git clone http://ppafford@stash.com/project/repo/codebase.git


if Joe Smith was logged into stash he would see this instead


    git clone http://jsmith@stash.com/project/repo/codebase.git

 

1 answer

1 accepted

Hi Phill,

Neat idea, but that isn't currently a feature of Stash's markdown renderer. The default screen for a new repository that you see is a soy template that ships with Stash, not a markdown file.

However if you're interested in such a feature I'd recommend raising a feature request with a description of your use case over at https://jira.atlassian.com in the Stash project.

cheers,

Tim

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

143 views 6 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