How to insert into a comment a link to a certain comment of another issue without using an absolute URL?

Is there any way to produce a comment with a link to a certain comment for an issue (the same or another) without using the permalink produced through https://confluence.atlassian.com/display/JIRA/Commenting+on+an+Issue#CommentingonanIssue-Linkingtoacomment ?

I guess having a way to say something like [ISSUE-123#comment12] would be more portable in case of jira server relocation.

2 answers

1 accepted

It is not supported: I've filed a RFE at https://jira.atlassian.com/browse/JRA-28976. Please vote there if you are interested in this feature.

0 votes

Everything starting from /browse/ should be a relative url I guess. But that won't work everywhere and it maybe better to get base URL from configurations or request context and use that.

For example, you can use $request.contextPath/browse/.... in the velocity templates.

I'm talking in the eyes of the final user... when editing a comment I'd like to write a link to another comment without using an absolute url... but trying to use something like [browse/ISSUE-123?focusedCommentId=2] seems not enough

Yes, it wouldn't work in a comment field. You are missing a "/" in the front but that wouldn't help either in a comment field. It needs absolute url.

You are right... I tried with both the leading slash and without. No results.

So I've just filed https://jira.atlassian.com/browse/JRA-28976

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,129 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot