Finding the Issue Type ID in Jira Cloud

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

要約

You may need Issue Type IDs (as opposed to issue type name) in scenarios like the following:

  1. REST API を使用する
  2. Integration with External Systems
  3. 詳細検索


This documentation covers Cloud versions of Jira only. For instructions using Jira Data Center and/or Server, see the related documentation link.


Retrieve issue type ID from Jira user interface (UI)

You will need to be a Jira Administrator in order to perform these steps. If you do not have Jira Administration privileges, you may contact your Jira Administrator for assistance, or follow the lower sequence of steps if you have Project administration privileges.

  1. Select設定> Issues > Issue Types
  2. Find an issue type you are interested in and select  > Edit
  3. Jira will display the Issue Type ID appended to the URL


例:

https://<SITENAME>.atlassian.net/secure/admin/EditIssueType!default.jspa?id=<ISSUE_TYPE_ID>


Alternative steps for Project Administrators

You will need to be a Project Administrator in order to perform these steps. If you do not have Project Administration privileges for the project, you may contact one of the Project's Administrators for assistance.

  1. Navigate to the project, then selectProject Settings > Issue Types
  2. Find an issue type you are interested in and select it
  3. Jira will display the Issue Type ID within the URL


例:

https://<SITENAME>.atlassian.net/plugins/servlet/project-config/<PROJECT_KEY>/issuetypes/<ISSUE_TYPE_ID>/workflow/edit

Retrieve issue type ID using Jira REST API

You will need to be a Jira Administrator or Project Administrator in order to perform these steps.

Send a GET request to the endpoint /rest/api/3/project/{projectIdOrKey} 

cURL request example
curl --request GET \
  --url 'https://<SITENAME>.atlassian.net/rest/api/3/project/{projectIdOrKey}' \
  --user 'email@example.com:<api_token>' \
  --header 'Accept: application/json'

Within the API request return, you'll see the list of issue types associated with that project, along with the type IDs.

Response example
...
"issueTypes":[
      {
         "self":"https://<SITENAME>.atlassian.net/rest/api/3/issuetype/10000",
         "id":"10000",
         "description":"A big user story that needs to be broken down. Created by Jira Software - do not edit or delete.",
         "iconUrl":"https://<SITENAME>.atlassian.net/images/icons/issuetypes/epic.svg",
         "name":"Epic",
         "subtask":false,
         "hierarchyLevel":1
      },
      {
         "self":"https://<SITENAME>.atlassian.net/rest/api/3/issuetype/10004",
         "id":"10004",
         "description":"Functionality or a feature expressed as a user goal.",
         "iconUrl":"https://<SITENAME>.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10315?size=medium",
         "name":"Story",
         "subtask":false,
         "avatarId":10315,
         "hierarchyLevel":0
      },
      {
         "self":"https://<SITENAME>.atlassian.net/rest/api/3/issuetype/10005",
         "id":"10005",
         "description":"A small, distinct piece of work.",
         "iconUrl":"https://<SITENAME>.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium",
         "name":"Task",
         "subtask":false,
         "avatarId":10318,
         "hierarchyLevel":0
      },
...


More details about project/{projectIdOrKey} endpoint can be found in the Jira Cloud REST API documentation.



最終更新日: 2025 年 1 月 22 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.