- Announcement banner
- Issue custom field values (apps)
- Issue custom field configuration (apps)
- Jira settings
- Application roles
- Issue attachments
- Audit records
- Avatars
- Issue comments
- Issue comment properties
- Project components
- Time tracking
- Issue custom field options
- Dashboards
- Get all dashboards
- Create dashboard
- Get available gadgets
- Search for dashboards
- Get gadgets
- Add gadget to dashboard
- Update gadget on dashboard
- Remove gadget from dashboard
- Get dashboard item property keys
- Get dashboard item property
- Set dashboard item property
- Delete dashboard item property
- Get dashboard
- Update dashboard
- Delete dashboard
- Copy dashboard
- Issues
- Jira expressions
- Issue fields
- Issue custom field contexts
- Get custom field contexts
- Create custom field context
- Get custom field contexts default values
- Set custom field contexts default values
- Get issue types for custom field context
- Get custom field contexts for projects and issue types
- Get project mappings for custom field context
- Update custom field context
- Delete custom field context
- Add issue types to context
- Remove issue types from context
- Assign custom field context to projects
- Remove custom field context from projects
- Screens
- Issue custom field options (apps)
- Issue field configurations
- Get all field configurations
- Create field configuration
- Update field configuration
- Delete field configuration
- Get field configuration items
- Update field configuration items
- Get all field configuration schemes
- Create field configuration scheme
- Get field configuration issue type items
- Get field configuration schemes for projects
- Assign field configuration scheme to project
- Update field configuration scheme
- Delete field configuration scheme
- Assign issue types to field configurations
- Remove issue types from field configuration scheme
- Filters
- Filter sharing
- Groups
- Group and user picker
- License metrics
- Issue search
- Issue properties
- Issue watchers
- Issue remote links
- Issue votes
- Issue worklogs
- Issue worklog properties
- Issue links
- Issue link types
- Issue security schemes
- Get issue security schemes
- Create issue security scheme
- Get issue security levels
- Set default issue security levels
- Get issue security level members
- Get projects using issue security schemes
- Associate security scheme to project
- Search issue security schemes
- Get issue security scheme
- Update issue security scheme
- Delete issue security scheme
- Add issue security levels
- Update issue security level
- Remove issue security level
- Add issue security level members
- Remove member from issue security level
- Issue security level
- Issue types
- Issue type properties
- Issue type schemes
- Issue type screen schemes
- Get issue type screen schemes
- Create issue type screen scheme
- Get issue type screen scheme items
- Get issue type screen schemes for projects
- Assign issue type screen scheme to project
- Update issue type screen scheme
- Delete issue type screen scheme
- Append mappings to issue type screen scheme
- Update issue type screen scheme default screen scheme
- Remove mappings from issue type screen scheme
- Get issue type screen scheme projects
- JQL
- JQL functions (apps)
- Labels
- Permissions
- Myself
- Issue notification schemes
- Permission schemes
- Issue priorities
- Projects
- Get all projectsGET
- Create projectPOST
- Get recent projectsGET
- Get projects paginatedGET
- Get projectGET
- Update projectPUT
- Delete projectDELETE
- Archive projectPOST
- Delete project asynchronouslyPOST
- Restore deleted or archived projectPOST
- Get all statuses for projectGET
- Get project issue type hierarchyGET
- Get project notification schemeGET
- Project types
- Project avatars
- Project features
- Project properties
- Project roles
- Project role actors
- Project versions
- Project email
- Project permission schemes
- Project categories
- Project key and name validation
- Issue resolutions
- Screen tabs
- Screen tab fields
- Screen schemes
- Server info
- Issue navigator settings
- Workflow statuses
- Workflow status categories
- Status
- Tasks
- UI modifications (apps)
- Users
- User search
- User properties
- Webhooks
- Workflows
- Workflow transition rules
- Workflow transition properties
- Workflow schemes
- Get all workflow schemes
- Create workflow scheme
- Get workflow scheme
- Update workflow scheme
- Delete workflow scheme
- Get default workflow
- Update default workflow
- Delete default workflow
- Get workflow for issue type in workflow scheme
- Set workflow for issue type in workflow scheme
- Delete workflow for issue type in workflow scheme
- Get issue types for workflows in workflow scheme
- Set issue types for workflow in workflow scheme
- Delete issue types for workflow in workflow scheme
- Workflow scheme project associations
- Workflow scheme drafts
- Create draft workflow scheme
- Get draft workflow scheme
- Update draft workflow scheme
- Delete draft workflow scheme
- Get draft default workflow
- Update draft default workflow
- Delete draft default workflow
- Get workflow for issue type in draft workflow scheme
- Set workflow for issue type in draft workflow scheme
- Delete workflow for issue type in draft workflow scheme
- Publish draft workflow scheme
- Get issue types for workflows in draft workflow scheme
- Set issue types for workflow in workflow scheme
- Delete issue types for workflow in draft workflow scheme
- App properties
- Dynamic modules
- App migration
Get project issue type hierarchy
Deprecated
GET
/rest/api/3/project/{projectId}/hierarchy
Projects
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/project//hierarchy'
Response Response Example
200 - Success
{
"projectId": 10030,
"hierarchy": [
{
"entityId": "00c6196c-2f5a-4d15-8439-3211098871e7",
"level": 0,
"name": "Base",
"issueTypes": [
{
"id": 10008,
"entityId": "f0b555ab-a707-49cf-831f-823dad323581",
"name": "Story",
"avatarId": 10324
},
{
"id": 10001,
"entityId": "3ba33091-32e0-47e8-a558-be98bb4996f0",
"name": "Bug",
"avatarId": 10324
}
]
},
{
"entityId": "6b7b4500-8e34-4746-97b7-722879aa60ae",
"level": 1,
"name": "Epic",
"issueTypes": [
{
"id": 10007,
"entityId": "df832484-823b-4856-94bc-d5f9807b7bea",
"name": "Epic",
"avatarId": 10179
}
]
},
{
"entityId": "b1079ae2-9a9c-4003-a9ea-33376160d837",
"level": -1,
"name": "Subtask",
"issueTypes": [
{
"id": 10009,
"entityId": "9fca0880-c3bd-4034-9356-531c23ad666e",
"name": "Subtask",
"avatarId": 10573
}
]
}
]
}
Request
Path Params
projectId
integerÂ
required
Responses
🟢200Returned if the request is successful.
application/json
Body
The hierarchy of issue types within a project.
hierarchy
array[object (ProjectIssueTypesHierarchyLevel) {4}]Â
read-onlyoptional
entityId
string <uuid>
read-onlyoptional
issueTypes
array[object (IssueTypeInfo) {3}]Â
read-onlyoptional
level
integer <int32>
read-onlyoptional
name
stringÂ
read-onlyoptional
projectId
integer <int64>
read-onlyoptional
🟠400Returned if the request is invalid.
🟠401Returned if the authentication credentials are incorrect or missing.
🟠404Returned if the project is not found or the user does not have the necessary permission.
Modified at 2023-07-13 03:27:27