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

Accepted Answer
1 vote

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 Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

23,703 views 2 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