Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

set readonly property to a field?

Chiara Spadavecchia
Contributor
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
Contributor
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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events