Hi,
is there any way I can write to a custom field that is not displayed in any screen? I have read that fields that are not displayed on a screen will not be filled when writing to them. Likewise, custom fields that are not displayed on screens will produce a NullPointerException when trying to read their assigned value.
Do I necessarily have to display a custom field on my screens in order to write to them or read from them, or is there any way to avoid displaying them while still being able to read/write the information?
My plan is to do all of this programmatically in Java and not with any user settings in Jira. It's supposed to run as part of a plugin.
Thank you.
@[deleted] ,
You can update any field or read any field using JIRA API. It is not necessary to have that field on view/edit screen.
But when you update that field , change will be reflected under history tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your answer! How would I go about that? Because everything I've tried so far resulted in the errors mentioned above i.e. the field not being set or getting the value returning null.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.