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.
Is there a reason you have Backlog setup as a fixversion? You should consider removing it altogether from the fixversions and set it up as a status instead.
affectsversion is meant to target a specific release in the case where you find a problem with a release and need to attribute it to that specific released version.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event