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

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

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. 

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

 

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

 

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,907 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot