markdown, set variable for current user

Phill Pafford August 31, 2015

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
Answer accepted
TimP
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 31, 2015

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
TAGS
AUG Leaders

Atlassian Community Events