Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to the desired workflow Create Issue transition and add the Build-your-own (scripted) Validator.

  2. Fill in the below details. Here, enter the group_name based on your instance details.

    Code Block
    !!issue.reporter && new User(issue.reporter.accountId).groups.includes("All Active Users")

    Image RemovedImage Added

  3. Publish the workflow.

  4. Create the issue. The above code will validate if the user who creates the issue belongs to the specific group name “All Active Users”. If not, it throws the following error message.



...