I'm wondering if anyone tried not to allowing users to pick "Backlog" from dropdown for Affects Versions field. This is on issue review screen when user is trying to update Affected Versions on existing issue in Jira.
I could prevent users to pick "Backlog" value during creating issue. I used ScriptRunner simple validator on workflow.
issue.issueType.name != 'Bug' || !(issue.affectedVersions*.name.contains("Backlog"))
It would prevent creating issue and giving error "Backlog is invalid value for Affects Versions"
I would like to do the same on update to Affects Versions, but not sure how to accomplish it.
Did anyone do anything like that? What tool did you use?
Your comments will be greatly appreciated.