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

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.

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
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 Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

59 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