Using admin Jira import, I can set the resolutiondate on import.
Via API, I get error when I try to do this. I tried logging in as a system admin, but that also does not work.
I'm pretty sure that you can't change the Resolution Date value in an issue via REST unless you change the Resolution value. And that may change the date to the current date. IIRC, the underlying code for setting the Resolution Date is called by the code that sets the Resolution in an issue
Hello @Bibin George
Welcome to the Atlassian community.
What is the error that you get?
What is the API call that you are executing?
Your post tags indicate you are using Jira Server or Data Center. What specific version are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My
Jira version is DC v9.15.2
API Call :
curl -k --request POST \
--url "<url>/rest/api/2/issue" \
--header "Authorization: Bearer [SYSTEM ADMIN TOKEN HERE]" \
--header "Content-Type: application/json"
Error:
{"errorMessages":[],"errors":{"resolutiondate":"Field 'resolutiondate' cannot be set. It is not on the appropriate screen, or unknown."}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.