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 vote

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 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
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

70 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