Hi Community,
I want to search those exact issues which are landed to a specific status (Open) and staying are there for 90 days.
So that, I can send an email notifying to the Reporter, to move issue for further process.
I tried configuring Jira automation rule with:
Trigger: Scheduled
Condition: If Status equals - Open
And: Issue type - Story
Then: Send email - Reporter
In Scheduled component, I am using:
- Fixed rate of every 90 days
- Run a JQL: project = TEST AND issuetype = Story AND status = Open AND NOT status CHANGED AFTER -90d
Enabled "Only include that have changed since the last time this rule executed"
Enabled "Process all issues produced by this trigger in bulk"
However, while looking to my JQL, it is showing all the issue before 90 days along with the issue which actually 90 days old.
Need further guidance on how to make the correct JQL while searching for the exact issue which only 90 days old from the current date.
Any suggest on how to achieve this via Scriptrunner, JSM, Workflow Conditions/Post-functions?
Thanks
Can you try with query
project = TEST and issuetype = Story AND status = Open AND status changed to Open before startOfDay(-90) AND NOT status changed after startOfDay(-90)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.