I have a request from one team of Service Desk agents to send an in-app notification to the assignee of a ticket on the due date.
I'm our Jira admin, and am familiar with setting up automation rules in Service Desk, so I thought I might be able to use the Alert User action in a new rule.
I'm running into two issues with that, though, and hoping that someone will have an idea of how to accomplish this.
First, the Alert User requires you to choose a specific user; using the Assignee isn't an option.
Second, there's no trigger that relies on a date field.
I've suggesting using an email filter subscription, customized with currentUser() so that each user is notified each day of their own approaching due dates, but they are dead set on using the in-app notifications.
Any ideas? We do have ScriptRunner, so I thought of using an escalation service, but I'm not sure there's a way to force an in-app notification. I know that the REST API allows you to force an email notification, but as I said, that's unacceptable to this particular team.
Hi Esther,
Thank you for your question.
I have reviewed the Rest API documentation for Jira Cloud located here and can see that unfortunately Atlassian does not provide a rest API to create a dialogue for users like you can do in the Jira Server version.
This means that it will not be possible to trigger an in app notification using the ScriptRunner for Jira Cloud plugin as Atlassian do not provide any Rest API to achieve this behaviour.
This means the closest you could get with ScriptRunner for Jira Cloud would be to send an email to users using the notify rest API.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.