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

Accepted Answer
0 votes

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 Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

41 views 0 2
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