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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

75 views 2 6
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