Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Unable to set Custom Field 10107 (Team) via Jira REST API V2 — Other custom fields work normally

Unable to set Custom Field 10107 (Team) via Jira REST API V2 — Other custom fields work normally

Raul Aguirre December 1, 2025

I'm currently working on a backend integration that creates Jira issues using the Jira REST API v2, specifically the /rest/api/2/issue and /rest/api/2/issue/bulk endpoints.

I'm able to successfully create issues and populate several custom fields without any problems (e.g., customfield_10201, customfield_10220, customfield_10500, etc.).
However, I'm facing an issue specifically with the custom field 10107, which in our instance corresponds to the Team field.

Problem Description

When I try to send the value for customfield_10107, Jira responds with an error indicating that the operation must be a string, or that the provided payload is invalid for this field.
The same structure works perfectly for other custom fields of type single select / option field.

What I've tried

  • Sending the field as { "id": "xxxx" }

  • Sending the field as { "value": "..." }

  • Sending the field as { "name": "..." }

What I need help with

  • How can I correctly populate customfield_10107 through the REST API?

  • Is this field part of some internal/Team-managed functionality that doesn't allow writing via REST API?

  • Is this field restricted by schema, permissions, or internal Jira Product Discovery / Advanced Roadmaps mappings?

Additional Context

  • I am creating issues from a backend service using Python (FastAPI).

  • All other custom fields work normally using the same logic.

  • Only customfield_10107 fails consistently.

  • This field is mapped to a "Team" field, used in our organization.

  • I suspect it may be a special type of field managed by Jira Align / Advanced Roadmaps / Teams management.

If anyone has experience with this specific field type, or knows whether Team fields can be set via REST API, I would really appreciate some guidance.

Thanks in advance!

3 answers

0 votes
David Nickell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2025

From what I can tell - you are correct that the "Team" field is a special type.  Its not a string or an ID ... its a Team

What I don't know is whether that means its what the REST Documentation is calling a "plan only team" (though I suspect it is).

Check this documentation.

 https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-teams-in-plan/#api-rest-api-2-plans-plan-planid-team-planonly-post

And also note that every REST API Reference page in Atlassian has Postman and Swagger links at the top oif the page.  You should be able to find the right payload to create with there assuming the documentaion I am point you to isn't helpful

team.png

 

 

 

 

0 votes
Trudy Claspill
Community Champion
December 1, 2025

Hello @Raul Aguirre 

Welcome to the Atlassian community.

Your post tags indicate that you are using Data Center. Can you confirm for us that is accurate and you are not using Jira Cloud? If you click on the Help icon in Jira (near your avatar) and select About Jira what information do you get for the version of Jira. If you are using Jira DC then you should see a number like 9.12.17 (for example). If you are using Jira Cloud there will not be a version number.

Are you a Jira Administrator for this environment?

How did you determine that 10107 is the correct ID for the field? It is possible to have multiple fields with the same name in Jira (both DC and Cloud), so it is important to ascertain if you have the correct field ID. 

Trudy Claspill
Community Champion
December 1, 2025

@Raul Aguirre 

Additionally, I see that your post tags indicate you are using Data Center, but the API endpoint references you provided are for Jira Cloud rather than Data Center. 

Can you confirm for use whether you are using Jira Cloud or Jira Data Center?

If you are using Jira Data Center, what version are you using?

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 1, 2025

Hi @Raul Aguirre 

As a disclaimer, I am using Jira Cloud and not Data Center.  With that out of the way...

Team is one of those fields where you set it in the JSON with an ID, but do not name the attribute.  For example:

"customfield_10107": "abc-123-456-def"

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer