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

jira6 VM file changes

Nikhil Srivastav December 2, 2013

We have below code which gets the username and converts it as a user link. Name we are sending from our plugin

<b>User:</b>#authorlink(${dep.userName})

we deployed the plugin but the name is coming like (on front end):

&lt;a class="user-hover" rel="1234543" id="email_1234543" href="/jira/secure/ViewProfile.jspa?name=1234543"&gt;John, Carter&lt;/a&gt;

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Đorđe May 28, 2014

Hi Nikhil,

I have same problem. Did you manage somehow to solve it?

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2013

It looks like it's not interpreting the tags fully. Could you try just #authorlink(${dep.userName}) all on it's own line with no other formatting around it? It's important to know exactly what that is generating

Nikhil Srivastav December 2, 2013

you mean by removing the <b> tag. The above code was working in jira v5.2.4. But its not working when we upgraded to v6.1.1

We have the below structure:

<td bgcolor="#ffffff" width=15% align=left>
<b>ID:</b>${dep.deployId}<br><b>User:</b>#authorlink(${dep.userName})
</td>

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2013

Yes. Remove everything except the #authorlink bit. What happens when you do that?

It's irrelevant whether it works in 5 and not 6 - libraries change, code needs updating....

Nikhil Srivastav January 8, 2014

Its coming like

<a class="user-hover" rel="1234543" id="email_1234543" href="/jira/secure/ViewProfile.jspa?name=1234543">John, Carter</a>

TAGS
AUG Leaders

Atlassian Community Events