Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,537
Community Members
 
Community Events
168
Community Groups

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

1 vote

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..

 

This didn't work for me.

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.

I tried moving the issue and it worked really well. 

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events