IssueQuery query = IssueQuery.builder().issueKeys(newArrayList(issueKey)).requiredRole(UserRole.USER).build();
return finder.find(query);
}
@CheckForNull
private Action getAction(final String actionKey) {
<BUG>return Iterables.find(actions, new Predicate<Action>() {
</BUG>
@Override
public boolean apply(Action action) {
return action.key().equals(actionKey);

IssueQuery query = IssueQuery.builder().issueKeys(newArrayList(issueKey)).requiredRole(UserRole.USER).build();
return finder.find(query);
}
@CheckForNull
private Action getAction(final String actionKey) {
return Iterables.find(actions.list(), new Predicate<Action>() {
@Override
public boolean apply(Action action) {
return action.key().equals(actionKey);
