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):
<a class="user-hover" rel="1234543" id="email_1234543" href="/jira/secure/ViewProfile.jspa?name=1234543">John, Carter</a>
Community moderators have prevented the ability to post new answers.
Hi Nikhil,
I have same problem. Did you manage somehow to solve it?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its coming like
<
a
class
=
"user-hover"
rel
=
"1234543"
id
=
"email_1234543"
href
=
"/jira/secure/ViewProfile.jspa?name=1234543"
>John, Carter</
a
>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.