Skip to end of banner
Go to start of banner

Filter by project and issue type

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 4 Next »

Problem

When using listeners it is often required that the listener responds to specific events only. The most common ways to filter these events are by the project the issue belongs to and the issue type for the issue.

Solution

To solve this problem, the listener configuration within Power Scripts has settings which can be used to specify when the filter should fire based on project and issue type.

Step 1: Create a new listener

  1. Navigate to the listeners configuration page by going to Power Apps Config > Power Scripts > Listeners

  2. Click the Add listener button

Step 2: Configure the listener

  1. After selecting a script for the listener, choose the event the listener should respond to. Only issue specific events like Issue Created, Issue Updated, etc. can then be filtered by project and issue type.

  2. After selecting an issue specific event the input form will update with the new controls for filtering:

  3. The project and/or issue type filters can then be applied:

  4. Click the Add button to complete the setup of the listener

Note:

  • Both the project and issue type filters can be set independently, they are not needed together

  • Multiple projects can be added to the project filter

  • Multiple issue types can be added to the issue type filter

Table of Contents

  • No labels