Hi,
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.
You don't.
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).
HTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please comment and/or vote for this https://jira.atlassian.com/browse/JRA-38572to get it sorted, eventually.
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.
To highlight the request, I will need to migrate more than 40 projects : the csv import is too laborious, just to ensure that creation and modified date matches to previous bug trackers...
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.