Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to get current Url path in web-item

Deleted user June 17, 2018

Hello, guys!

I'm new here. I tried to figure out it by myself but didn't managed to. So, the problem is next: I create a web-item in Bitbucket Server in Pull request view context (here we have Overview, Diff and Commits tabs; I add some additional tabs). So, I need my item to have Url like /projects/{project name}/repos/{repo slug}/pull-requests/{request ID}/myPluginName. But i didn't find how to correctly write it in web-item section in my XML.

<link linkId="myLinkId">/projects/{project name}/repos/{slug}/pill-requests/{request ID}/myPluginName</link>

 

 

UPD: I found the answer: 

${repository.project.key}
${repository.slug}
${pullRequest.id}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events