Jira Service Management primarily uses a REST API. Here are the key points:
Jira Service Management provides a REST API for developers to integrate with and administrators to script configuration interactions.
The REST API uses JSON as its communication format and standard HTTP methods like GET, PUT, POST, and DELETE.
The structure of the REST URIs follows this pattern: http://host:port/context/rest/servicedeskapi/resource-name
.
The Jira Service Management REST API uses the same authentication methods as Jira, with OAuth and HTTP Basic Auth (when using SSL) being the preferred methods.
Other supported authentication methods include HTTP Cookies and Trusted Applications.
The API supports pagination to conserve server resources and limit response size.
Resource expansion is used to simplify API responses, allowing clients to request specific entities to be included in the response.
The API provides access to various resources such as service desks, request types, organizations, and more.
While not specific to Jira Service Management, it's worth noting that Atlassian also provides a GraphQL API for accessing data across various Atlassian products, including Jira. However, the primary API for Jira Service Management is the REST API.
Jira Service Management primarily offers a REST API, which provides a comprehensive set of endpoints for interacting with various aspects of the service. This API follows REST principles, uses JSON for data exchange, and supports standard HTTP methods. It also includes features like pagination and resource expansion to optimize API usage.
Yes, the official Jira Service Management API does have webhooks. Here are the key points about webhooks in Jira Service Management:
You can subscribe to various types of events in Jira Service Management webhooks, including:
Issue-related events:
Comment events:
Project events:
Version events:
Sprint events:
Board events:
When configuring a webhook in Jira Service Management, you need to provide:
By using webhooks, you can create powerful integrations between Jira Service Management and external systems, allowing for real-time updates and automated workflows based on events occurring in Jira.
Here are the key points about API rate limits for the Jira Service Management API:
Rate limiting is implemented by tracking the cost of processing requests against various cost budgets [2].
Requests are associated with different cost budgets based on authentication type:
Specific rate limits are not published, as the computation logic evolves continuously [2].
Rate limits are designed to ensure reliability and responsiveness, not to differentiate service levels [2].
Apps should detect rate limits by checking for HTTP 429 status codes [2].
When rate limited, apps should:
Response headers provide information on rate limits:
Retry-After
: Seconds to wait before retryingX-RateLimit-Reset
: Timestamp when request can be retriedX-RateLimit-NearLimit
: Indicates <20% of budget remains [2]By following these guidelines and implementing proper rate limit handling, developers can build robust apps that work effectively within Jira's rate limiting system.
Based on the search results, I can provide the following information about the most recent version of the Jira Service Management API:
The most recent version of the Jira Service Management API appears to be associated with Jira Service Management 5.17. This can be inferred from the release notes information provided in the search results.
Key points to consider:
Jira Service Management follows a versioning scheme where the major version number (e.g., 5.x.x) indicates significant updates, while minor versions (e.g., 5.17.x) represent smaller updates and bug fixes.
The latest version mentioned in the search results is Jira Service Management 5.17, which suggests that this is likely the most recent version of the API as well.
It's important to note that Atlassian frequently releases updates for their products, so the version number may change over time.
For the most up-to-date information on API versions, it's recommended to check the official Atlassian documentation or developer resources.
The Jira Service Management REST API does not typically have separate version numbers. Instead, it is usually associated with the version of the Jira Service Management product itself.
Best practices:
Always refer to the most recent documentation when working with the API, as features and endpoints may change between versions.
When integrating with a specific Jira Service Management instance, it's a good practice to check the version of that instance to ensure compatibility with your integration.
If you need to work with a specific version of the API, consider using the appropriate documentation for that version, which can often be found in Atlassian's archived documentation.
Keep in mind that Atlassian may deprecate older API versions over time, so it's important to stay informed about any announcements regarding API changes or deprecations.
To get a developer account for Jira Service Management and create an API integration, here are the key steps:
To set up a new API integration:
https://<your-domain>.atlassian.net/rest/api/3/
Based on the search results, here are the key data models you can interact with using the Jira Service Management API, along with what is possible for each:
The API allows performing CRUD operations on most of these data models, as well as retrieving associated data and performing key actions like transitioning requests or managing approvals. The exact capabilities may vary slightly between Jira Service Management Cloud and Server versions.