JIRA REST API: Can I set the created/modified date while creating issue ?

Is there any method or script in JIRA REST API where i  can  set the created/modified date while creating issue.

1 answer

3 votes

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.

and the same strategy for comments also ?

Yes.  It records the date you make the comment.

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 ? 

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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

68 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you