Field-Level Permissions
We've made it easy for you to specify field permissions. In the example below, we show you how to make a field mandatory if the priority field is set to High or Highest. We also have an example on the Behaviours Tutorial page that shows you how to make a field read-only unless a user is in a specific role.
Make a field mandatory if the priority field is a set value
This example shows you how to make a field mandatory if the priority field is a set value.
Note: Behaviours only function on the Create Issue, Update/Edit Issue, Assign Issue, and Workflow Transition screens (see Behaviour Limitations). In the example below, we're adding a server-side script to a field, meaning the behaviour will run every time the field is updated.
Scenario
To manage their high-priority issues more effectively, Great Adventure wants the Justification field to be mandatory if the priority is set to High or Highest.
Note: If you want to test this example, add a Text Field (multi-line) custom field named
Justification.You can now test to see if this behaviour works!