Project import failed because there are wrong values in due date field

Is it possible to modify the value of the due date field of specific issues in a project? For example I found '0009.07.02' value in a due date field at the source JIRA instance and the import failed in a new JIRA instance when I performed a project import from a backup file. How can I fix the problem easily?

2 answers

1 accepted

This widget could not be displayed.

Hi Vas

You can open the xml file and directly modify the date to the current date type you are using in the JIRA instance you are importing the project.

After that try to import it again. Probably the date was already set wrong in the previous JIRA instance.

Hope it helps.

Ricardo Carracedo.

This widget could not be displayed.

Hey Vas,

Just in case you are not sure what is the value to be modified directly from the entities.xml, perhaps you can provide us with the error message you are getting during the import?

That will help to give us a better idea on what's going on on your side.

][priority,3][timeestimate,14400][duedate,0009-07-02 00:00:00.0][timeoriginalestimate,14400][watches,0][key,JUTI-4521] (SQL Exception while setting value: (Only dates between January 1, 1753 and December 31, 9999 are accepted.))

at org.ofbiz.core.entity.GenericDAO.singleInsert(GenericDAO.java:136)

at org.ofbiz.core.entity.GenericDAO.insert(GenericDAO.java:101)

at org.ofbiz.core.entity.GenericHelperDAO.create(GenericHelperDAO.java:64)

at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:487)

at org.ofbiz.core.entity.GenericDelegator.create(GenericDelegator.java:467)

at org.ofbiz.core.entity.GenericValue.create(GenericValue.java:98)

at com.atlassian.jira.ofbiz.DefaultOfBizDelegator.createValue(DefaultOfBizDelegator.java:374)

... 15 more

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

193 views 1 3
Join discussion

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