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

Accepted Answer
0 votes

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 Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,374 views 9 12
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