How to properly add a link from one comment to another

Is there a proper way to link to a specific comment to another without referring to the fully qualified URL including the Jira server in the url? For instance if I have an issue called XYZ-4, and I've added two comments, in the second comment I would like to be able to say

[that other comment|comment:1]

where "comment1" would be some suitable syntax.

and when that second comment is posted, that field should turn into a link.

What I have to do right now is not good as it hardcodes the Jira server and port in the URL which means all of those comments would have to be edited if we change servers in the future:

[that other comment|http://my_current_server:8080://bla/bla/bla/...]

Thanks,

1 answer

1 accepted

Accepted Answer
0 votes

Hi,

Everything you can do in the wiki renderer is available here. I do not think there is any built in syntax to do what you are looking for.

https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

Thank you

Bhushan

That was what I was afraid of. I guess I'll have to manhandle it on my end with the Jira REST API.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 9 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

149 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you