Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-10230

Set Assignee to Group

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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)

              nick.menere Nick Menere [Atlassian] (Inactive)
              whitneydavis Whitney Davis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: