Forums

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

keep getting ticket resolution required even it is not presented - java

Wasim Daas
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!
January 12, 2023

keep getting this error when I try to create issue even the resolution is not present in the issue 

Caused by: com.atlassian.jira.rest.client.api.RestClientException: [ErrorCollection{status=400, errors={}, errorMessages=[Ticket Resolution: Ticket Resolution is required.]}]

 

when i try to populate it i get :

Caused by: com.atlassian.jira.rest.client.api.RestClientException: [ErrorCollection{status=400, errors={resolution=Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown.}, errorMessages=[]}]

 

we use 

 

<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-app</artifactId>
<version>5.2.4</version>

1 answer

0 votes
Trudy Claspill
Community Champion
January 12, 2023

Hello @Wasim Daas 

Welcome to the Atlassian community!

This appears to indicate two different fields.

In the second error message it is referring to the built in System field called "resolution". The first error message appears to be complaining about a different field called "Ticket Resolution".

Can you check the Create Issue screen for that issue type in the same project to see if "Ticket Resolution" is a field there?

Suggest an answer

Log in or Sign up to answer