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 Join to answer
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...

716 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot