logo

NJP

How to update an issue in Jira

Import · Dec 03, 2020 · article

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://.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"}] }

}

View original source

https://www.servicenow.com/community/now-platform-articles/how-to-update-an-issue-in-jira/ta-p/2319975