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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

110 views 15 7
Join discussion

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