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 vote

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
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 Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

119 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