Forums

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

I am not able to create jira ticket with custom fields using JIRA Rest API

Aziz Mohammed
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 18, 2023

I am not able to create jira ticket with custom fields using JIRA Rest API, getting 400 missing mandatary fields, if add those fields getting anther issue like....

{
    "errorMessages": [],
    "errors": {
        "customfield_18102""Field 'customfield_18102' cannot be set. It is not on the appropriate screen, or unknown."
    }
}
please provide me the solution.

1 answer

0 votes
Ashish Gupta
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 19, 2023

Welcome to the Atlassian Community @Aziz Mohammed,

As you are trying to create an issue with a particular custom field, please make sure that the custom field is added to the Create Screen associated with the issue type in that project.

In order to confirm it, you may navigate to (Project Settings-->Issues-->Screens). Once on the screens page, you need to review the Create Issue Screen for that particular issue type and make sure that the custom field is added to it.

The same would be applicable if you will try to update the issue using Rest API i.e. the field needs to be configured in the Edit Screen to update it.

Suggest an answer

Log in or Sign up to answer