I do have a custom field type (A) which I can't make readonly in a certain workflow step with ScriptRunner (It's probably not supported).
Let's say I do have the workflow steps Status 1, Status 2, Status 3
My workaround is to create a new JIRA custom field (B).
- Copy the value of the customfield (A) into (B) during transition from Status 2 to Status 3
- Customfield (A) is visible in Status 1 and Status 2
- Custom field (B) is not visible in Status 1 and Status 2
- Custom field (B) should be shown in Status 3 and defined as readonly.
Problem with Behaviours is that I cant differentiate between Hiding and making a field Readonly for different statuses.
Is there a way with a script to solve the problem?
Regards,
Joerg