Am trying to change the behavior of a date field to read only once the issue type has gone passed a certain status or on transition. Doesn't look like its possible using UI - when i add condition true for workflow step= "Open" then the field is read only on issue create as well as when editing.
Maybe usig script? and if so, any examples you can provide?
Thanks!
You can make a field readonly using a Java script.
Example:
var FieldToBeMadeReadonly = document.getElementById('customfield_xxxxx');
FieldToBeMadeReadonly.disabled = true;
FieldToBeMadeReadonly.readonly = true;
Note: Make sure that you set the field parameter to false just before you submit the forms, else the field's value will be cleared. (You can refer the below script for the same)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.