Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

GET "/rest/api/3/field" doesn't return all fields when only Team Managed Projects exist

Joel Marshall August 18, 2025

I'm working on a marketplace app that creates a custom field during installation. After some painful troubleshooting, I've come to realize that, unless a Company Managed Project is present, the API call to "/rest/api/3/field" returns a subset of the fields that are present in the system. With TMP only, ~45 fields are returned, the custom field that our app creates isn't among them despite the fact that we can verify its existence at https://mytenant.atlassian.net/jira/settings/issues/fields . Once a CMP has been created, ~85 fields are returned by the API call, including the custom field in question.

Is this a bug or by design? If the latter, what's the reasoning? The custom field is passed along with the work items details for TMPs, but without a CMP present in the system we dont have a good way of identifying it.

2 answers

0 votes
Chitra Nagdeo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 19, 2025

Hey @Joel Marshall ,

Welcome to Atlassian community!

I understand you are unable to get custom field details which are created on a Team amanged project using API endpoint /rest/api/3/field.This is an expected behaviour as GET request to /rest/api/3/field in Jira Cloud is for the global custom field and it will not reliably return custom fields created in team-managed (formerly next-gen) projects.

  • The /rest/api/3/field endpoint lists global custom fields—those available across the Jira instance and typically used in company-managed projects.

  • Custom fields created within a team-managed project are scoped only to that project and are managed differently. They are not global fields, so they usually do not appear in the /rest/api/3/field response.

  • If you need to fetch custom fields for a team-managed project, you should use the /rest/api/3/issue/createmeta endpoint with the relevant project and issue type parameters. This will return the fields (including custom fields) available for creating issues in that specific project

Summary Table

Endpoint

Returns team-managed custom fields?

Notes

/rest/api/3/field

No

Only global/company-managed custom fields

/rest/api/3/createmeta

Yes

Returns project-specific fields, including team-managed

Recommendation:
Use /rest/api/3/issue/createmeta?projectIds={projectId}&issuetypeIds={issueTypeId}&expand=projects.issuetypes.fields to get custom fields for a team-managed project

I hope this should help you fix the concern, have a good day!

Regards
Chitra Nagdeo

Joel Marshall August 19, 2025

The custom field is created and managed by our Connect app, not the Team Managed Project.

 

 

0 votes
Sunny Ape
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.
August 18, 2025

Hello @Joel Marshall 

That's a really bizarre bug.

  1. Does the Get fields paginated endpoint exhibit the same behaviour?
  2. Are still able to get information about the field directly via its ID when there is no Company Managed Project?
  3. Does the Get create field metadata for a project and issue type id endpoint return the information about that custom field if it's on the appropriate Issue screen for the Team Managed Project when there is no Company Managed Project

One of the main differences between CMPs and TMPs is that CMPs use issue screen schemes for their fields and TMPs don't, so it might be possible the API endpoint requires that a field be on at at least one screen scheme for at least one issue type for it be returned in a search. I'd be investigating the characteristics of the first ~45 returned when a CMP does NOT exist and comparing that with the 'extra' ~40 fields that are returned when a CMP does exists. 

Anyhow, it's a fairly obscure scenario (I personally can't think of any company that doesn't have at least one Company Managed Project in their Jira instance) but if you've able to consistently replicate that behaviour and exhausted all possible explanations, then I recommend that you log a bug with Atlassian.

Please let us know what the outcome is.

Joel Marshall August 20, 2025

So it turns out that it is returned by calls to "/rest/api/3/field/search" regardless of which Project types are present- it even works with no projects at all so that's what we've switched to. Perhaps it's by design that app managed fields aren't returned by "/rest/api/3/field" but that certainly seems odd.

Suggest an answer

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

Atlassian Community Events