- Create a behaviour mapping to project AA and issue type Bug only.
- Set description field to required using the UI toggle option.
- Go to Create Issue and change the issue type to Bug. We can see the description field is required but don't enter any value in it and click submit.
- You will force to enter the value in the description. Now, change issue type to Epic.
- Click submits to create the issue but you will not able to proceed.
The behaviour mapping should run based on the selected issue type.
- Set to all projects and issue type mapping.
- Add the script below in the Initialiser section: