It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Not allow users to pick "Backlog" value from dropdown for Affects Versions field

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.

 

1 answer

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.

Thank you for comment. List of versions is used for multiple version fields.  "Backlog" is legitimate option for other than Affects Versions.  So, I'm looking at how to prevent it to be available specifically for Affects Versions. 

What do you mean, Randy? Did you already try it or you just know?

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you