When performing an export I get a lot of lines with the following output:
For simplification I only pasted 1 line, but the format is the same for other projects
How can I correct these errors?
Running JIRA 6.4.4. with version 1.6 of Project configurator
Oops, in my last comments I was still thinking about customfield_10101, that showed in the original question...
But no problem. I have seen your email at our support account, which supplies a lot of information
I think that the missing custom field is not shown in the validator edition screen, because this screen just ignores a custom field that it cannot find. You could fix it this way:
The idea is deleting the validator and creating a new one, instead of trying to fix the existing one. This should be a very fast operation.
That message means that the workflow ("EhvDevelopment-PickUp") contains a reference to a custom field that does not exist any longer. This may have happened because the workflow was created when the custom field existed, but it was deleted later. The custom field might also have been disabled, if its type was defined in a plugin and the plugin was disabled or uninstalled.
If the custom field "disappeared" because its type was defined in a plugin that had been disabled or uninstalled, just re-enabling the plugin should bring the custom field back and solve the problem.
Otherwise, you can fix it removing the broken reference from the workflow. If the workflow does not have many transitions it is practical to look for the broken reference using the workflow editor in JIRA. If the worklow is quite large with many transitions, it could be more convenient to export it to XML, find the broken reference in the XML (i.e. finding out in which transition and in which condition, validator or post function the reference occurs) and then fix it in the editor in JIRA.
Exporting the workflow to XML made it a bit more clear.
I can now see easily see the validation part (as it is a complex workflow).
<validator name="" type="class"> <arg name="hidFieldsList">customfield_12613@@customfield_12609@@assignee@@customfield_12608@@</arg> <arg name="class.name">com.googlecode.jsu.workflow.validator.FieldsRequiredValidator</arg> </validator>
However, I still have problems tracking down that specific custom field. I've executed the following URL, hoping that it would lead me to custom field but that doesn't work.
When editing the workflow in JIRA , it only shows me 3 values and not the offending or missing one. So no chance to correct or remove the correct the custom field.
Once you are seeing the XML in your favorite editor, use the search function to find all the occurrences of "customfield_10101", as that is the reference that caused the error. When you have found these references, note down where they are (transistion + condition/validator/post-function) and remove them in the workflow editor in JIRA. You need not find the custom field with id 10101 in JIRA. In fact, it is certain you will not find it because that custom field does not exist now. At best, it could still be in the database if it has been disabled beacuse its type was defined in a disabled plugin. You can check that with this SQL query: select * from customfield where id=10101 If that returns a record, it will show the type the custom field had, in the field "customfieldtypekey".
Hi Mark, Did you find the references in the XML workflow descriptor? In that case, could you paste here the section of the XML with the reference to the custom field? Otherwise, could you email the XML workflow descriptor to support at awnaba dot com? Regards,
Hi José, Below is snippet of the .XML file. The offending customfield = customfield_12608 which is not available in the JIRA database. <validators> <validator name="" type="class"> <arg name="hidFieldsList">customfield_12613@@customfield_12609@@assignee@@customfield_12608@@</arg> <arg name="class.name">com.googlecode.jsu.workflow.validator.FieldsRequiredValidator</arg> </validator> </validators>
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
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