URL to add a new comment in specific Jira issue

Aden Williamson July 14, 2013

Is there a custom URL that I can use to direct a user straight into the body of a new comment on a specific Jira issue, for instance "jira.mycompany.com/browse/issue-xyz".

My hope is that I can append something like "/new_comment". But I haven't stumbled across a way to do it yet.

2 answers

1 vote
Aden Williamson July 14, 2013

Got it! In my case, the following format works:

"http://jira.mycompany.com/secure/AddComment!default.jspa?id=n"

The variable is "n" in "id=n"

I was able to find this in the page source in the as the value of "rel='n'", as below:

"<li><a id="key-val" rel="12345" href="/browse/issue-xyz">Issue-xyz</a></li>"

So the working URL for this example would be:


"http://jira.mycompany.com/secure/AddComment!default.jspa?id=12345"

Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2013

Cool. You did not mention that you wanted to create a new comment.

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2013

Well, there's this URL (https://jira.atlassian.com/browse/GHS-6670?focusedCommentId=416862) which goes to the specific comment.

Aden Williamson July 14, 2013

This is the URL to an existing comment. I'd like to link to create a new comment.

Suggest an answer

Log in or Sign up to answer