I have custom field called Priority Number and it has multiple priorities like 1,2,3,4,5......, now I just wanted to restrict the values. ex. when user is creating issue he selected as priority 1 and if its resolved then only another user can create the issue with priority 1, if issue is not resolved then it should give the error message like Already priority 1 used once that is resolved then you can create issue with priority 1 or else please select next priority.
We are using cloud Jira.