Hi Team,
Is it possible to send notification to Assignee after 24 hrs of inactivity of a ticket which is in particular status using script runner?
Thanks in Advance
Anil
@Anil, Check out using Escalation services with Scriptrunner. That should get you started!Thanks,Kian
Hi @Anil
You can create an escalation service under jobs to achieve that but adding a comment on the issue or create a custom scheduled job to send an email. You can find sample code here: https://library.adaptavist.com/entity/send-custom-email
I hope it helps.
Ravi
Hi @Kian Stack Mumo Systems Thanks for your quick response.
I tried Escalation service. But, the requirement is "Status shouldn't change" and "Assignee should be notified" about the issue. Which should be similar to SLA in service desk.
BTW we are on Data center and have only ScriptRunner.
Hi @Ravi Sagar _Sparxsys_ Thanks for your quick response.
Actual requirement is, If issue status is in "In progress" and assignee should be notified if no activity is on that specific issue for more than 24 hrs.
@Anil, what exactly the problem with using escalation services, if you don't mind explaining? Using Escalation services try doing the following:
To set a comment, you can use the code
issueInputParameters.setComment('Write your comment here')
It looks like you're new here. Sign in or register to get started.