Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is is possible to update JIRA Service Desk issue via REST API

Kubo Grznarik September 14, 2015

Im trying to update JIRA Service Desk SLA custom field via REST API but I get Internal Server Error after running this in browser console:

AJS.$.ajax({
  url: "https://jira.server/rest/api/2/issue/TEST-86",
  type: 'PUT',
  contentType: "application/json; charset=utf-8",
  data: '{ \
		   "fields": { \
			   "customfield_11203" :{ \
			      "completeCycles": [ \
			         { \
			            "breached": "false", \
			            "goalTime": 28800000, \
			            "elapsedTime": 428375, \
			            "calendarName": "Sample 9-5 Calendar", \
			            "startDate": 1442222822168, \
			            "stopDate": 1442223250543 \
			         } \
			      ] \
		      } \
		   } \
		}'
 });

 

Custom Field 11203 is SLA CustomField Type created by Service Desk plugin.

My goal is to update SLA Custom Field via REST API. Does JIRA Service Desk even allow this?

2 answers

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2016

JIRA Service Desk API are available since mid January 2016.

For details please refer to the JIRA Service Desk REST API Reference documentation. 

 

Cheers,
Dario

0 votes
joachimbollen
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2015

There is no supported REST API yet for JIRA Service Desk, so this is not possible or supported.

You can vote for https://jira.atlassian.com/browse/JSD-107 to follow up on this issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events