Updating multiple issues data using AP.request

jira-software
jira-plugin
jira-cloud
atlassian-connect

#1

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) {}
});

#2

Hi @hariprasath,

It sounds like you’re looking for a Bulk edit issue REST API, is my understanding correct? If you are, it is currently not supported, however, an improvement request has been made before for this feature (see ACJIRA-1536).

Cheers,
Ian


#3

Hello @iragudo,

Is there any alternative for this?