Forums

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

Help in getting Data in API

CHINNAMUTHEVISAI.SATYANARAYANASHARMA
Contributor
February 7, 2024

Team,

when i try to get options of a custom field with id 20432, i'm getting options.

but when i try to search with another id 24591 i'm getting 

""Global context does not exist for the field"".
is there a way to retrieve info regarding a particular custom field context project wise through api?
i used this getting custom field not found. please help.

1 answer

0 votes
Nikola Perisic
Community Champion
February 7, 2024

Hello @CHINNAMUTHEVISAI.SATYANARAYANASHARMA 

Is the second custom field containing the options like the previous custom field?

CHINNAMUTHEVISAI.SATYANARAYANASHARMA
Contributor
February 7, 2024

NO,

Field name : SFDC source system.

it have different contexts for different projects with different values.

is it possible to get context of this custom field project wise through postman?

Nikola Perisic
Community Champion
February 7, 2024

Yes it is possible with Postman. Make sure that for Authorization you are using basic auth, where for the username is your email address and for the password is Jira API token.

Also, you might need to refer to this page here: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-custom-field-options/#api-group-issue-custom-field-options

CHINNAMUTHEVISAI.SATYANARAYANASHARMA
Contributor
February 7, 2024

i have tried this option.

 

Get https://pbapps.atlassian.net/rest/api/3/field/24591/context

 

but I'm getting custom field not found error. but its actually there :'(

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