Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get an issue id in Jira?

João Gabriel Monteiro Martins April 29, 2019

Hello!!

When I click on an issue i need do discover the id of that issue in a programmable way.

Does anyone knows how to do it?

1 answer

0 votes
Alexey Matveev
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.
April 29, 2019

Hello,

If you want this field to be visible for users, then create a custom field and then fill it with an app like Power Scripts, ScriptRunner.

If you want to use the Power Script app, then you could create a post function on the create issue transition with a code like this:

#{your custom field name} = id;

If you want to find it just for yourself, then you can execute the following rest api right in your browser:

https://yourdomain.atlassian.net/rest/api/2/issue/issuekey

Just modify the url and paste in your browser.

João Gabriel Monteiro Martins April 30, 2019

When i do the second thing you suggested, i get a menssage saying that what I am trying to see doens't exists or I have no permissions to see it. Do you know why?

What should be the route that I should use if I try to discover the id by a REST request?

Suggest an answer

Log in or Sign up to answer