Custom Field setting default value all the time

We have a custom field, whose default value was (TBD). For some reason, it decided to update the field to the default value at every opportunity, overwriting previous values with the default at transitions, edit, resolved. I removed the default value, and now it's inserting (None) instead of (TBD) still overwriting values. I created a new context with the same values, and the same behaviour continues.

I am preparing to delete the context, re-index, create a new context and associate it.

Has anyone else run into this type of behaviour, I'm more than a bit baffled. It's only happening on one project system wide, the other projects seem to be ok. Something must have gotten corrupted somewhere, but I have no idea where.

2 answers

1 accepted

So it appears that creating a custom context is basically the same as creating a new field. In that database pointers get updated. The field was exhibiting this behaviour, I assume because with the context data updated, it assumed existing data in the fields was either bad or empty defaulting to (None) or (TBD) depending on the setting.

I searched by Project and the Custom Field, changing the field data (in this case teams) from the "old" value to the "new" (same) value.

Do you have any custom javascript for this field in the field description? It might be there setting the default value for you. That is my only thought. Deleting the context, reindexing and readding the context should get rid of that if not. Definitely a strange issue.

No there is no javascript in the field, or any of the workflows associated with it. Still baffled, but the beer I had with lunch helps.

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

3,334 views 14 20
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