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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

172 views 1 17
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