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

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:

  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

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

You can vote for to follow up on this issue.

0 vote

JIRA Service Desk API are available since mid January 2016.

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



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,225 views 2 14
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you