Error creating issue: Unable to find field 'customfield_10310'

We had the JIRA service desk at some point for one project, and had a custom field set in a post function. Now we have disabled the service desk, and removed everything that had to do with it. Now we cannot even create an issue, as the above error occurs.

This has to do with the post function setting the custom field value, but it does not show up in the flow diagram.

Any help appreciated!

5 answers

This widget could not be displayed.
Timothy Chin Community Champion Feb 06, 2015

Looks like you should either check the Validator or the Post Function of the Create transition of the workflow.

This widget could not be displayed.

Yeah, I checked the post function, but there were nothing that would indicate the post function that I created. But this is resolved now, as that had to do with this bug: https://jira.atlassian.com/browse/JRA-41693

So, I deleted the weird post function, and it started working again. 

This widget could not be displayed.

Another approach I have tried, ( but does not work because I have  a Cloud instance) is to export the workflow as XML, remove the object to do with the deleted custom field (10310) and then import this XML workflow and use that instead. 

that should work, however, Cloud does not support XML workflow import

 

This widget could not be displayed.

Since the corrupted xml occured in the "create" transition, which I cannot replace, I am forced to copy my workflow manually line by line to a new workflow. I am not permitted to edit the Post Function where I see the corrupted custom field. X      The other also painful choice is to https://confluence.atlassian.com/display/CLOUDKB/How+To+Import+A+Workflow+into+JIRA+Cloud

 

It  would be nice if the "copy" workflow checked for, and editted out, references to non-existent custom fields, at a minimum

 

This widget could not be displayed.

After 3 hours of copying a workflow by hand, I recommend NEVER deleting a custom field - JIRA workflows do not handle them. 

Conversely it would be nice if JIRA either did not permit deleting custom fields OR JIRA actually fixed the workflows automatically when a custom field is deleted ( better)

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

252 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