I am transfering bulk records ( ex: 5000 records ) from other sites to Jira. I am also using those information to create the issues in On demand jira.
I need to set "Created" and "Updated" date values respect to those records. How can set this values through REST API.
These fields are derived from the data on the issue at the time the issue is created or updated. You *can* set "created" as you import (I'm tempted to say you can set updated as well, but I'm really not sure). But once the issues are in Jira, you cannot directly change them.
That applies to the UI, let alone REST (and REST respects what the UI allows). If it was your own installation, you'd be able to write code to do the amendments, or even mess with them in the database (risky). But you can't do any of those things when on OnDemand.
Adding to Nic answer: you should create a date custom fields ('i.e. imported date', 'originally created', 'last updated on external system') and maybe a text field (or select) containing the originating system (i.e. 'Bugzilla', 'Old Bugzilla', 'Excel files'). It may help you to trace the issue back (this can be further improved if you have URLs to the original issues).
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG