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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

416 views 5 9
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