Defect #27566

API can add custom fields journal entry although it is disabled on WEB UI

Added by Maria Oskar about 5 years ago. Updated about 5 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Custom fields
Target version:-
Resolution: Affected version:3.3.2


What we do:

  1. Create Custom Field
  2. Set
    • Visible: to any users
    • Trackers: Uncheck all
    • Projects: Uncheck all


What we have:
This way we can't edit or view this custom fields in any issues.
This custom field will not be seen in issues.

But we can add any value to this field programmatically in a plugin using the CustomValue model. And we can add an entry to the Journal about changing this field using the JournalDetails model.
At the same time, according to our settings: the issue should not have this field.

After these actions on the issue page:
We don’t see the field and its value
But we can see journal entries about changes in this field (that should not be).


I think it's better to get an error when we try to change a value of the field that does not exist in an issue and add an entry to the journal.
It turns out that field settings don’t mean anything.
The field is simply hidden. Despite we have special settings to change visibility.
Values of custom fields and journal details are not checked on matching the field settings before saving.
This behavior is controversial and someone can use it for their own purposes.

We have some questions

First of all, we need your feedback on following questions:

  • Is this behavior correct, undesirable or incorrect?
  • Can we base our solutions on this behavior?
  • Can we use this behavior for their own purposes in plugins development?
  • Is it better to avoid using this behavior?


settings.JPG (64.5 KB) Maria Oskar, 2017-11-19 10:58

journal_entries.JPG (71.4 KB) Maria Oskar, 2017-11-19 10:59


#1 Updated by Toshi MARUYAMA about 5 years ago

  • Subject changed from Undesirable behavior of Custom Fields and Journal to API can add custom fields journal entry although it is disabled on WEB UI

Also available in: Atom PDF