Is there any method or script in JIRA REST API where i can set the created/modified date while creating issue.
Community moderators have prevented the ability to post new answers.
No.
The REST API respects what the core of JIRA does. The created date is the date the issue was put into the system, and the updated date the last time it was updated. Neither of which are modifiable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes. It records the date you make the comment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually i have bunch of Jsons imported issues from basecamp . So how could i able to create legacy of issues and comments to maintain my history of projects . is there any way ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
imports can set dates, as the assumption is that they were made in a different system which captured them.
Take a look at Admin -> Import and see which one of the built-in importers might work best for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- How about setting the due date and priority when you create the issue is that supported? I thought it was but when sending this payload
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Possibly related, albeit an old post. I was getting this API error: "Field 'priority' cannot be set. It is not on the appropriate screen, or unknown." . This was because I was trying to set priority via the API before I actually added the priority field to the issue screen. I found that confusing at first - because you can see priority in some notifications even if its not included on the issue screen.
To add priority to the issue screen, highlight an issue -> click the [...] -> configure -> search for system field "Priority" -> drag that to the description fields area. Once you add the field, it works using syntax in the Create Issue REST API method by adding a value under the fields node like: "priority": {"name": "Highest"}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.