Use automation for this, create two rules
Go to project settings automation add a new rule
When: SLA Threshold breached (choose your SLA) will breach in the next 7 days
Add component: Edit issue - edit priority - low
When: SLA Threshold breached (choose your SLA) will breach in the next 5 days
Add component: Edit issue - edit priority - medium
You will need a scheduled rule.
Project -> Automation
Due date JQL examples
Due date in next 8 hour and not overdue due >= "0" AND due <= 8h
Due date in next 8 hour and or is overdue due <= 8h
Due date in next 2 days or overdue due <= 2d
Tip: If you are not skilled with JQL
Fo to filters -> advanced issue search -> under more choose "due date" there you can choose what you want -> "Switch to JQL" there you will see JQL and you can copy it and add it to your rule
Hello Community! We’re excited to announce that Mindville Insight’s asset and configuration management capabilities will now be integrated into Jira Service Management Premium and Enterprise plan...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events