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

atlassian-plugin.xml context variables

Sergey Temchenko
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.
February 13, 2017

Hello, i have run into question about context variables in atlassian-plugin.xml

-$projectKeyEncoded

-$project

-$action(in admin vm context)

Where are these variables defined? And why i can't find full list of these vars?

Thanks

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Answer accepted
Александр Верзаков
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.
February 15, 2017
Sergey Temchenko
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.
February 16, 2017

$action - you're correct. I've printed this var and checked what is it.

No, unfortunately that is different $project.

That $project variable has access to current user selected project key/id. This information aren't from POM.xml.

Also $projectKeyEncoded don't know from where.

Also i've found more variables:

<web-item key="q-item" section="q-operations" weight="20">
   <label>Action</label>
   <link linkId="q-item">/secure/QAction!default.jspa?id=${issueId}</link>
</web-item>

${issueId} - provides current issue id

 

<web-item key="extended-profile-popup-item" name="Extended Profile Popup Button" section="system.user.hover.links" weight="11">
   <label>Extended Profile</label>
   <link linkId="extended-profile-popup-item">/secure/ExtendedProfile.jspa?username=${profileUser}</link>
</web-item>
${profileUser} - provides current user name

 

It seems like they some global context vars, but i don't understand where are they defined.

Александр Верзаков
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.
February 17, 2017
Sergey Temchenko
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.
February 19, 2017

Thank you! It looks like answer on my question.

0 votes
artafon September 28, 2018

Hi! I have the same question: Where is $projectKeyEncoded variable defined? 

TAGS
AUG Leaders

Atlassian Community Events