This guide shows how to retrieve various IDs associated with Jira entities using the Jira REST API.Covered
APIs
...
Get Project: This API retrieves information for a specific Jira project, including its ID. (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/ )
Get Project Components: This API retrieves a list of project components associated with a project ID. (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-components/ )
Get Project Versions: This API retrieves a list of project versions associated with a project ID. (https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/ )
Get Organizations: This API retrieves a list of organizations within your Jira service desk (if applicable). Note: This API uses a different endpoint compared to project-related APIs. (https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-organization/ )