Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

This article explains how to validate the reporter of an issue based on a group while creating the issue using Build-your-own (scripted) Validator validator.

Instructions

  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.

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

  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.



  • No labels