Hi,
Is possible to get the url of an issue in a jira post function?
I tried to create a String and insert the hyperlink but it doesen't work:
notificationMessage += "<li><a href=\""+issue.url+"\">"+issue.key+"</a></li>"
after, at the end of the postfunction I get the value of the String and I send an email with the string in the body, my need is that in the mail will appear the link of the issue
Thanks
The url for an issue is
<base url>/browse/<issue-key>
In your system, you've got a fixed known base url (https://something.atlassian.net) so you can hard code it and keep it simple.
In html, you just need to construct
<a href="https://something.atlassian.net/browse/<issue key>">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.