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
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 @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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anil,
Check out using Escalation services with Scriptrunner. That should get you started!
Thanks,
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Anil, what exactly the problem with using escalation services, if you don't mind explaining? Using Escalation services try doing the following:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To set a comment, you can use the code
issueInputParameters.setComment('Write your comment here')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.