Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ghost customField

Olivier MAZEN
Contributor
July 3, 2018

Hello there,

 

I face on an issue with a "ghost customfield".

I am on a JIRA SD with Dynamics form and ScriptRunner add-on.

When i want to create an issue in a specific project, i get a system error "customfield_10810: This field is required.".

But actually i haven't any customfield with ID 10810.

I know it threw this way:

i have created a dynamic select list (with add-on) i add one option and all my custom field in the related field section.

After that, i check all the ID displayed in the related field section, no field match with the id 10810.

Do you have any id i can fixe it ?

 

Regards,

 

Olivier

 

 

3 answers

1 accepted

0 votes
Answer accepted
Olivier MAZEN
Contributor
July 3, 2018

Hello , 

 

Thanks for the reply.

 

Actually, i get the ID of the field threw an error message.

 

Here is the tricky part.

In JIRA you can find the ID of a field with the customfield name but you can't find out the field with the customfield ID.

 

Unless you know a way to get a customfield name when you only know the customfield ID.

 

I gonna check the validator.

 

Olivier

Olivier MAZEN
Contributor
July 5, 2018

The probleme occurs from the third party. 

the add on dynamics form.

0 votes
Olivier MAZEN
Contributor
July 3, 2018

I have check in my database on the table customfield, i havn't any field with ID as descriebed in the triggered error message.

 

How can i go further in my issue ? removed a control on a field that no more existe ?

 

Does my database is corrupt?

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2018

Hello, how do you check the ID of a cusotm field?

You should open a link like this

https://jira-host/secure/admin/ConfigureCustomField!default.jspa?customFieldId=<customfieldid>

It will give you the name of the custom field.

Then go to the field configuration scheme for this project and make sure that this field is not required. 

Also make sure that there is no require validator in the create transition

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2018

I think your db is broken. Try to execute the following sql query in your database:

SELECT id, fieldlayout, fieldidentifier, description, verticalposition, ishidden, isrequired, renderertype
FROM jira.fieldlayoutitem
where fieldidentifier = 'customfield_10810';

It will show you configuration for the field. Try to set the isrequired field to false with the Update statement.

But Kindly make a backup or try it first in a test instance.

I am not sure about the result.

Olivier MAZEN
Contributor
July 3, 2018

Good evening alexey,

 

Unfortunatly the result of the query is empty. The is no record returned.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events