Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Jira

Schemesjira://, opsgenie://
Cargo featureservice-jira
Servicehttps://atlassian.com/
Body formatstext (first is the default)
Attachmentsno
Title length250 characters
Body length15,000 characters
Body linesunlimited
Request throttlenone
Vendor URLs acceptedno

URL formats

{schema}://{apikey}
{schema}://{user}@{apikey}
{schema}://{apikey}/{targets}
{schema}://{user}@{apikey}/{targets}

{schema} is one of jira://, opsgenie://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{apikey}API Keystringyessecret
{target_escalation}Target Escalationstringnoprefix ^
{target_schedule}Target Schedulestringnoprefix *
{target_team}Target Teamstringnoprefix #
{target_user}Target Userstringnoprefix @
{targets}Targetslistnoany of target_escalation, target_schedule, target_team, target_user; separated by /
{user}Usernamestringno

Query parameters

ParameterMeaningTypeDefaultNotes
actionActionchoicemapone of map, new, close, delete, acknowledge, note
aliasAliasstring
batchBatch Modeboolno
entityEntitystring
priorityPrioritychoice3one of 1, 2, 3, 4, 5
regionRegion Namechoiceusone of us, eu
tagsTagsstring
toTargetslistsets {targets}

Prefixed parameters:

  • +name=value: Details
  • :name=value: Action Mapping

The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.

Examples

Accepted URLs (tokens are fake):

jira://k3/
jira://user@k2/
jira://k13b/@user?:s=
jira://k21/?action=new
jira://k17/user@email.com/#team/*sche/^esc/%20/a?action=new
jira://k12/@user?action=close
jira://k6/@user?region=EU&action=new
opsgenie://k6/@user?region=EU&action=new

Rejected URLs:

jira://
jira://:@/
jira://%20%20/
jira://k1/user/?region=xx

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'jira://k3/'

Notes

Jira Service Management (jira://, opsgenie://): creates and manages alerts through the JSM Operations alert API.

opsgenie:// URLs land here too: Opsgenie shuts down on 2027-04-05 and its alert API lives on unchanged as JSM Operations (api.atlassian.com/jsm/ops/integration/v2/alerts, GenieKey auth).

The requestIds of created alerts are kept in the persistent store (60 days) so later close/acknowledge/note/delete actions act on them.

Differences with Apprise

  • opsgenie:// URLs are sent by the jira service to Jira Service Management Operations (Apprise posts them to api(.eu).opsgenie.com, which shuts down on 2027-04-05); the key must come from a JSM Operations API integration. ?region=eu no longer changes the host.