I have a field on edit screen and I want to make the field read only only for particular status.
Is there any way apart from behaviors to make field read only in this case
You don't. Jira does not have field permissions.
So only way would be only through behaviors?
Yes, you need something that will botch it with javascript.
ok Thank you
Hello,
You can use also the Power Scripts add-on:
https://marketplace.atlassian.com/apps/43318/power-scripts-jira-script-automation?hosting=cloud&tab=overview
There is the Live Fields feature. You can modify fields in the Create, Edit and Transition Screens.
Your code would look like this:
(argv["screen"] ==<span> </span>"Your transition name") { lfDisable("Your custom field name");}if
(argv[
"screen"
] ==<span> </span>
"Your transition name"
) {
lfDisable("Your custom field name");
}
You can find more info on Live Fields here:
<a href="https://confluence.cprime.io/display/JJUPIN/Live+Fields" target="_blank" rel="nofollow noopener noreferrer">https://confluence.cprime.io/display/JJUPIN/Live+Fields</a>
It looks like you're new here. Sign in or register to get started.