/
Limit possible resolutions based on issue type
Limit possible resolutions based on issue type
Problem
You want to limit the possible resolutions in the Resolve issue screen according to issue type.
For example, if the issue type is New Feature or Improvement, you want to remove Fixed, Won't Fix, Cannot Reproduce from the list of available resolutions.
Solution
Create the following script and associate it with the main Live Fields configuration on your project.
restrict_resolutions.sil
string[] issueTypes = {"New Feature", "Improvement"};
string[] bugResolutions = {"Fixed", "Won't Fix", "Cannot Reproduce"};
if(elementExists(issueTypes, issueType)) {
lfRestrictSelectOptions("resolution", bugResolutions);
}
The above SIL™ script includes the lfRestrictSelectOptions function used in Power Scripts™ Live Fields. It allows you to limit options in select lists for any field or issue type.
, multiple selections available,
Related content
Limit sub-tasks based on issue type
Limit sub-tasks based on issue type
More like this
Hide specific issue types for certain users
Hide specific issue types for certain users
More like this
Enable 'Priority' options based on issue type
Enable 'Priority' options based on issue type
More like this
Simple Issue Language
Simple Issue Language
Read with this
Require the fix versions when resolving an issue
Require the fix versions when resolving an issue
More like this
Prevent a select list from displaying certain options
Prevent a select list from displaying certain options
Read with this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.