Is it possible to use the newish bulk update API to update the Jira system-created team field?

Sean Blezard
Contributor
February 7, 2025

I am trying to bulk update the team field - the one that is provided OOTB by Jira Cloud. I couldn't find it on the standard bulk edit screen and haven't the energy to mess around with a Jira automation trigger based on a label etc. (although it might come to that).

 

I thought it would be easier with the API: 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations/#api-rest-api-3-bulk-issues-fields-post

 

But team field isn't one of the types listed and I can't the existing ones to work.

Has anyone managed to get this API endpoint working with the team field?

 

Thanks,

Sean

 

Update 1:

I tried this payload but it returned:

{"errors":[{"message":"Cannot assign a non-existing team"}]}

 

Payload:

 

payload = {
"editedFieldsInput": {
"singleSelectFields": [
{
"fieldId": "customfield_14504",
"option": {
"id": team_uuid
}
}
]
},
"selectedIssueIdsOrKeys": batch,
"selectedActions": ["customfield_14504"],
"sendBulkNotification": False
}


This made me think the singleSelectFields option might work but clearly not since the value I passed in (the hex-dec key) was a valid team.

 

Update 2:

I was able to update the team field with the single issue update API endpoint using a payload like this:



{
"fields": {
"customfield_14504": team_uuid
}
}

Is it simply the case that the bulk update endpoint doesn't work properly yet, for the OOTB team field? Am I going to have to iterate over an update for every issue I want to do a bulk update on?

1 answer

0 votes
Jehan Bhathena
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, 2025

Hi @Sean Blezard ,

Tried the API that shows the fields available for bulk edit api: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-bulk-operations/#api-rest-api-3-bulk-issues-fields-get, thus confirming to your statement that the Bulk edit issues API won't support the "Team" field.

If the process of updating this field is going to be recurring I would suggest making a small script that runs in a loop and use the "Edit Issue" API to update 1 issue at a time.

I personally use Postman, which can also be used for a similar action, you can keep updating the team variable for the issue that you need.image.png

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events