Jira REST API <<fields>> vs <<update>> parameter

Ignacio Pizarro
Contributor
February 4, 2021

I'm diving into Jira cloud REST API and found that in some endpoints we have two available parameters to set or update jira fields: fields and update.

What's the difference between these fields?

Docs says about fields param:

List of issue screen fields to update, specifying the sub-field to update and its value for each field. This field provides a straightforward option when setting a sub-field. When multiple sub-fields or other operations are required, use update

But example itselfs update multiple fields using the fields param instead of update.

Here's and endpoint example: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

Many thanks in advance.

1 answer

1 accepted

3 votes
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 4, 2021

Hola Ignacio,

Take a look at this article where it explains some about the difference in fields and update.

https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/

Ignacio Pizarro
Contributor
February 4, 2021

Hi John,

That article is the answer I was looking for. Thanks a lot!

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2021

Great! Glad I could help a little.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events