A project would like to change field attributes based on the status of the issue. In one state they would like a field optional, another state they want it required, and even in another state they want the field "read only". Can this be achieved using "out of the box" configuration options?
Is there any way to get validator using REST API while changing status ?
You can make a field mandatory during a transition using a validator. It can't be dependent on the status (only in the transition to a status). So,
1. for optional use a transition screen including this field
2. for mandatory use a transition screen including this field and add a validator that this field is required
3. for read only remove the field from your edit screen. (since you have this field in the transition screens you can edit only during transitions)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.
Register now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.