Forums

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

how can i get the schema or the default fields of the user or customer ? suggest some api (not data)

Aniket July 1, 2025

hey i want to know the schema of the user and there default fields 
i want some document which mention them properly or the api which return the default field of the user , i already explore the data api ( which return the data of the user ) but i don't want that because that does describe the type of fields 

2 answers

0 votes
Marc - Devoteam
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.
July 1, 2025

Hi @Aniket 

The customer option you are probing, is a registered customer on your JSM project and provides the details of the customer.

The users, you could use https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get or https://developer.atlassian.com/cloud/admin/user-management/rest/intro/#about (this is you have Atlassian Guard and SSO setup)

Fields on a request, you could look at https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-get 

0 votes
Evgenii
Community Champion
July 1, 2025

Hi, @Aniket 

Welcome to Atlassian Community!

Your question is a bit unclear — could you clarify what you mean by "schemes" or "default fields for customers" ?

In Jira, schemes (such as permission schemes, notification schemes, priority schemes, screen schemes, etc.) are linked to projects , not to customers.

Customers themselves only see the data they're allowed to view based on the permissions in place.

Aniket July 1, 2025

i want the fields and there fields type which i am calling as schema currently i am able to get the fields from the api /rest/api/3/fields which giving me all the fields but it don't specify me that fields belong to the user or request or something else 
currently i am able to fetch custom field for the user also using this api  :
/jsm/csm/cloudid/{cloudID}/api/v1/customer/details


Note: my remaining task is to find the default fields for the user and customer in jsm and i want schema api just like the fields one which i mention previously 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events