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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

164 views 1 17
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