set readonly property to a field?

Chiara Spadavecchia February 26, 2021

I need to set a field readonly.

The field type is the following one: single-line text.

The field must be set only in creation mode.

In view/edit screen the field must be visible but readonly.

Is there a way?

In Cloud the screens View and Edit are the same.

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 26, 2021

There is no read only property for a field.

To do "create, but then never edit", just remove the field from the "edit" screen.  People will no longer be able to edit it with the in-line edit and as it will not appear on the edit screen, it can't be changed there either.

For Next-gen projects, you can't do this though, there are no screens behind them.  If you offer a field for edit at any point, you can edit it.

0 votes
Chiara Spadavecchia February 26, 2021

Be attention: I cannot use the type textfield(readonly) because It is not supported by Advanced Roadmap:

https://confluence.atlassian.com/advancedroadmapscloud/custom-fields-998651046.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events