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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

71 views 0 11
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