Auibuttongroup | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
|
Info |
---|
This page is about Time to SLA for Jira Server. Using Jira Cloud? Click the Cloud button above. |
Table of Contents | ||
---|---|---|
|
Calendar Rest API
Panel | ||
---|---|---|
| ||
...
Next-Gen SLA Rest API
Panel | ||
---|---|---|
| ||
...
Additional Time to SLA Rest API
Panel | ||
---|---|---|
| ||
Saving SLA definition
Method | POST |
---|---|
URL | /rest/tts-api/latest/sla |
Sample Result |
---|
|
Origin and target dates are custom fields
POST Data |
---|
|
Possible Responses |
---|
|
With negotiation time
...
|
Possible Responses |
---|
|
...
Bulk saving SLA definitions
Method | POST |
---|---|
URL | /rest/tts-api/latest/sla/bulk |
Sample Result |
---|
|
An SLA with negotiation time and another one with the custom origin and target dates
...
Possible Responses |
---|
|
...
Showing SLA definition
Method | GET |
---|---|
URL | /rest/tts-api/latest/sla/{slaId} |
Possible Responses |
---|
|
...
Searching SLA definition
Method | GET |
---|---|
URL | /rest/tts-api/latest/sla/search |
Identifiers for search operation | |
---|---|
-description | Example description=Urgent |
-workflowName | Example workflowName=TTS Project Workflow |
-priorityId | Example priorityId=1 |
-originStatusId | Example originStatusId=3 |
-targetStatusId | Example targetStatusId=5 |
-slaStartDateField | Example slaStartDateField=1 |
-slaEndDateField | Example slaEndDateField=5 |
-multipleTransition | Example multipleTransition=true |
-onlyFirstExecution | Example onlyFirstExecution=false |
-slaValueAsTimeString | Example slaValueAsTimeString=20m |
-slaNegotiationDateFieldId | Example slaNegotiationDateFieldId=11000 |
-slaNegotiationDateIssueFieldKey | Example slaNegotiationDateIssueFieldKey=duedate |
-workingTimeId | Example workingTimeId=3 |
-jqlString | Example jqlString=issuetype = Improvement |
...
Possible Response |
---|
|
...
Updating SLA definition
Method | POST |
---|---|
URL | /rest/tts-api/latest/sla |
POST Data |
---|
|
...
Possible Responses |
---|
|
...
Deleting SLA definition
Method | DELETE |
---|---|
URL | /rest/tts-api/latest/sla/{slaId} |
...
Get SLA details for an issue
Method | GET |
---|---|
URL | /rest/tts-api/1.0/sla/issue/{issue-key} |
Possible query parameters | |
---|---|
-slaId | Example slaId=26 |
Error Response |
---|
|
...
Get SLA details for issues based on JQL
Method | GET |
---|---|
URL | /rest/tts-api/1.0/sla/issue/ |
Possible query parameters | |
---|---|
-slaId | [Optional] sla filtering parameter Example slaId=26 |
-jql | Jql to filter issues that you want to get SLA details. Example jql=key in (ABC-34,ABC-35) |
-index | the index of a result whose page you want the pager to start at |
-max | the maximum number of results in a page (cannot be greater than 100) |
Response
Warning |
---|
AttentionFor performance and memory issues, we support pagination. Max 100 issues are returned for a single page, but you can navigate with the parameters returned from REST. |
Result |
---|
|
...
Generating SLA data for existing issues
Method | GET |
---|---|
URL | /rest/tts-api/latest/sla/regenerate/{issue-key} |
...