You want the project lead to reschedule issues in one simple step which includes entering the fix versions, an assignee and an optional comment.
Solution
Create the action
Begin by creating the Reschedule action.
Condition Script
Next, enter the following code to set the action as available only for the project lead and applicable only to issues that are not Resolved or Closed.
Condition Script
number ENABLED = 1;
number DISABLED = 2;
number HIDDEN = 3;
if(projectPM(project) == currentUser() && status != "Resolved" && status != "Closed"){
return ENABLED;
}
return HIDDEN;
Screen Script
Next, enter the below script to prompt the user to select fix versions and a new assignee (the default value is the initial assignee), and enter a comment.
Assigning a string value that contains pipes to a string array splits the original string at the position of each pipe. Thus, you can use 1.0|2.0 as a value for Fix Versions to set multiple values.