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 Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

536 views 0 9
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