---
title: "Build an escalation service"
canonical: "https://support.appfire.com/space/PSJC/1248395291/Build%20an%20escalation%20service"
format: markdown
---
> Macro (aura-html)


This use case combines a JQL Search Extensions keyword with Power Script’s Scheduler to create a scheduled task (escalation service) that finds issues linked to high-priority ones and updates the priority to match.

> 📝 If you are not already using JQL Search Extensions, you can try out these features with a free trial license. Visit our JQL Search Extensions [marketplace listing ](https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira?hosting=cloud&tab=overview)to learn more.

|  |  |
| --- | --- |
| **Scenario** | *Your team doesn’t know the priority of an issue dependency has increased, therefore they don’t prioritize the linked issue causing misalignment across the projects and delays.*<br>**Solution:** Build an escalation service that updates the priority of a ticket whenever a linked issue has a High priority. |
| **JSE keyword** | `linkedIssuePriority` |
| **Power Scripts features** | SIL Manager and Scheduler |
| **Method** | 1. In Jira, go to **Settings** > **Apps** > **Manage apps**.
2. In the Apps sidebar menu, under *POWER SCRIPTS*, select **SIL Manager**.
3. On the *SIL Manager* page, select **File** > **New file** to create a new file.
4. Add the following script to the file, and replace `MyProject` with your project details.
  
5. Enter a name for the file, then click the **Save** icon in the top menu to save the file.
6. Select **Configurations** in the left sidebar.
7. Select **Automations** > **Scheduler** to display the *Scheduled Jobs *page.
8. Click **Schedule job**. The *Schedule new job* window displays.
9. Select **Interval** for the Job type. Alternatively, use a CRON expression to define the interval.
10. Set the interval when the script should run, for example,1h.
11. Select the **Edit** icon in the *Script* field.
12. Select the saved file from the list and click **Select**.
13. In the *Schedule new job* window, select the **Run as** user.
14. Click **Save**. Your saved scheduled job displays in the list of scheduled jobs. You can later edit or delete the job as required.<br>Now, every 60 minutes, this script will run and update the priority of any issues that match the JQL query used in the script. |