private final IssueUpdater issueUpdater;
public SetSeverityAction(IssueUpdater issueUpdater) {
super(KEY);
this.issueUpdater = issueUpdater;
super.setConditions(new IsUnResolved(), new Condition() {
@Override
public boolean matches(Issue issue) {
return isCurrentUserIssueAdmin(((DefaultIssue) issue).projectKey());
}
});