I have to update custom field via API which is configured as read-only via screens.
Is this a custom text field of the type read-only?
standard description/summary, custom date field and custom text field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As you mention to @Nikola Perisic is correct, but if you want to edit it via the API.
It needs to be on the screen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it needs to be on Edit screen, hence it is not read-only anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use custom fields of the type Read-Only.
This field will always be read-only, but you can still update this field via the API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, but it is only for text field, what about date type field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can try using the PUT method and the /rest/api/3/field/{fieldId} endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PUT method doesn't work if the field is not in edit screen
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.