Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Problem
When using listeners it is often required that the listener responds working with listeners, having them respond only to specific events only. The most common ways to filter is often necessary. Typically, these events are by filtered based on the project the issue belongs to and the issue type for associated with the issue.
Solution
To solve address this problemconcern, the Power Scripts offers listener configuration within Power Scripts has settings which can be used settings that allow you to specify when the filter should fire trigger based on the project and issue type.
Step 1: Create a new listener
Navigate to the listeners configuration page by going to Power Apps Config > Power Scripts > Listeners
Click the Add listener button
Step 2: Configure the listener
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.
Image RemovedImage AddedAfter selecting an issue-specific event, the input form will update with the new controls for filtering:
Image RemovedImage AddedThe Apply the project and/or issue type filters can then be applied:
Image Removedas needed.
Image AddedClick the Add button to complete the setup of the listener
Info |
---|
Note:
|
Table of Contents
Table of Contents |
---|