Finding the Id for Issue Types

Needed the Issue Type ID to be able to create a URL/link from a confluence page to the appropriate issue/ticket type. I don't have any admin access and our admins are swamped.

3 answers

The only way I found the Issue Type ID was to create a test issue of any type and save it. Then move it to the issue type I needed the ID for, click through all the screens involved in the move and then view the history.

I found another way: https://mydomain/rest/api/2/proj/projectKey dumps a lot of the metadata including IDs. Worked best in Firefox as it natively formatted the xml.

0 votes

John, 

If you are administrator, there is an easier way to accomplish this. Navigate to the "Administration"-> "Issues"->"Issue Type". If you hover over the "Edit" or "Delete" buttons, you should see in the lower left hand corner a URL similar to http://yourdomain/secure/admin/EditIssueType!default.jspa?id=10704, where id=10704 is the ID of the issue type. If that doesn't appear, by clicking on "Edit", it will bring you to the edit page where the ID will be in the address bar. 


Good luck,

Kian 

As I said, I don't have admin access.

Start to create a new issue, select the issue type you want and then Right Click on the Issue Type Field and select "Inspect Element".  There you can dig into the HTML to find the issue type and if you dig enough, all the issue types. (hint  <div id="issuetytpe-options"..)

Depending on your version you will see a line like this:. 

<input style="display: none;" value="11" data-container-class="issuetype-ss" class="issuetype-field aui-ss-select" id="issuetype" name="issuetype" type="text">

 

Where Value is the ID. 

 

It used to be easy when it was a real select list..

 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,033 views 6 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot