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 vote
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 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 2 hours ago 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...

13 views 0 3
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