Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to block the usage of a "Fix Version" if it has already been Released?

Pedro G. Ferreira
December 30, 2022

Is there any to configure the "Fix Version" field to not display the already Released versions?

1 answer

2 votes
Roland Holban (Adaptavist)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 12, 2018

Here you go! Create a Fast-track transition listener and put this in the condition field:

// Gather changed field at the Issue Updated
def field = event.getChangeLog().getRelated('ChildChangeItem').find{it.field == "assignee"}

// Gather old field value
def old_field_value = field.oldstring

// Gather new field value
def new_field_value = field.newstring

old_field_value == null && new_field_value != null

Suggest an answer

Log in or Sign up to answer