How can I send two or more updated issues/tasks data from connect add-on to JIRA using single AP.request(POST method)?
AP.request({
url: '/rest/api/2/issue/' + issueID + '',
type: 'PUT',
data: '{"update": {},"fields": {"' + field1 + '": ' + field1Val + ',"' + field2 + '":"' + field2Val + '"}}}',
contentType: 'application/json',
success: function (response) {},
error: function (response) {}
});