VaranAwesomenow
Mega Sage

This is a continuation to the previous article - Get list of issues from Jira using REST API - Now Platform - ServiceNow Community

1. Add HTTP method of type PUT

Endpoint = https://<JIRA>.atlassian.net/rest/api/2/issue/${issueID}

$issueID is the variable that will take input as issue number , which will be in format project code - number Ex : IS-901, LEAR-01

sample content message

{
"update" : {
"assignee" : [{"set" : {"accountId" : "5e86351b0XXXXXXXXXX"}}],
"summary" : [{"set" : "TestFromServiceNowToUpdateSummary1"}]
}
}

Output message

HTTP status code = 204

Check JIRA issue to see if issue got updated successfully.

 

Version history
Last update:
‎12-02-2020 07:45 PM
Updated by: