Issue with validators and JIRA CSV Import

Issue #242 resolved
Adolfo Casari created an issue

Hi Fidel,

I am having trouble importing issues in JIRA via JIRA builtin CSV import. In the create transition 2 validators failed and the import failed. I had to remove them both in order to allow the import. They are show in the image attached. First I got:

Caused by: com.opensymphony.workflow.WorkflowException: Field "Parent's due date" ({00039}) is not set. at com.fca.jira.plugins.workflowToolbox.shared.ParserValueProvider.numericFieldValue(ParserValueProvider.java:1078) .....

Then I put true OR and it passed but then the second failed (even with true OR):

Caused by: [InvalidInputException: [Error map: [{}]] [Error list: Solo se permite Control de Cambio] at com.fca.jira.plugins.workflowToolbox.MathExpressionsValidator.validate(MathExpressionsValidator.java:74) .....

Since removing the validators while importing is a workaround, this is just to know if this is expected or some kind of bug.

Comments (3)

  1. Fidel Castro Armario repo owner

    Hi Adolfo,

    The problem is caused by the way CSV Import tool works: it first creates the issue, and then set fields values, even if they are required in the field scheme.

    The solution you have adopted is the one I recommend in these cases.

    I thought there was a previous issue similar to this one, but I haven't found it.

    Best regards.

  2. Log in to comment