Forums

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

How can I set a field to be read-only after a value has been entered?

Hermann.B@eppendorf.de
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 10, 2025

in jira data center how can I set a date picker field to be read-only after a value has been entered?

4 answers

4 votes
Dave Mathijs
Community Champion
December 10, 2025

Hi Hermann.B@eppendorf.de welcome to the Atlassian Community forums!

  1. Create separate screens for your issue operations (create/edit/view screen)
  2. Hide the Date Picker field from the Edit Screen, but add it to the View Screen. Optionally, added to the Create Screen if you want the Reporter to fill out the field upon creation of the work item/issue.
  3. Create a transition/workflow screen with this Date Picker field
  4. Add the transition/workflow screen to a transition between 2 workflow statuses if your want the Reporter/Assignee to add/edit the value at that point
  5. As the Date Picker field is now read-only after work item/issue creation, it can only be filled out/edited during creation or during the workflow transition.
Dave Mathijs
Community Champion
December 15, 2025

Hi Hermann.B@eppendorf.de If my answer helped you, please click the green Accept answer button above my answer. This helps us identifying whether our efforts contribute to the question(s) asked. Thanks for your confirmation.

3 votes
Staffan Redelius
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 Champions.
December 10, 2025

Hi Hermann.B@eppendorf.de 

You can do this by creating different screens for different actions (create/edit/view). Remove the field from the create and Edit screen and create a separate screen that you use in transitions where the field can be set.

Let me know if you need more assistance in resolving this

Best regards,
/Staffan

1 vote
Thorsten Letschert _Decadis AG_
Community Champion
December 10, 2025

Hey Hermann.B@eppendorf.de

While I'd probably go for @Dave Mathijs's suggestion when using built-in features only, if you're using a workflow app (or are considering using one - see https://marketplace.atlassian.com/search?query=workflow), there might be an even more elegant way by:

  • Removing the date picker field from the Edit screen
  • Adding it to a dedicated screen to be used in a transition
  • Add a global reflexive transition (from any status to itself) using the aforementioned screen as transition screen
  • Add a condition to this transition to only be available if the date picker field is empty

Regards,
Thorsten

0 votes
Christos Markoulatos
Community Champion
December 10, 2025

Hi Hermann.B@eppendorf.de welcome!

 

You can handle this in Jira Data Center using a few approaches: ScriptRunner Behaviors (to dynamically make the field read-only once it has a value), workflow properties (to lock fields in specific statuses), or validators (to prevent changes after initial entry). Behaviors is the most flexible option because it works at the UI level and applies only to the specific field, while workflow properties affect all fields and validators only block changes during transitions.
Hope this helps!

Suggest an answer

Log in or Sign up to answer