Set Assignee to Group

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • None
    • Component/s: None
    • None

      Is it possible to assign a group to an issue? I am writing a plug-in function that generates subIssues. I've seen others' code that assigns the subIssues to specific people; but not groups.

      Instead of:

      User sampleUser;
      sampleUser = UserUtils.getUser(samplePerson);
      subTaskIssue.setAssignee(sampleUser);

      Is there something like this that I could use:

      Group sampleGroup;
      sampleGroup = "ABCGroup";
      subTaskIssue.setAssignee(sampleGroup);

      The API specifies the method signature:
      public void setAssignee(String assignee)

            Assignee:
            Nick Menere [Atlassian] (Inactive)
            Reporter:
            Whitney Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: