Simple notifications: REST API

Work for users with permissions in plugin settings. (Who access Rest to send notifications?)

How to set "show notifications" to multiple users?

POST: {baseUrl}/rest/jibrok/simple-notifications/1.0/notifications/send

Content-Type: application/json

BODY:

{ "type":"success", "close": "after_click", "title":"test title", "body": "body", "groups":["jira-administrators"], "userNames":["admin"] }
  • types: error, warning, info, success

  • closes: auto, manual, never, after_click