'\" t .\" Title: wajir .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 05/11/2022 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" .TH "WAJIR" "1" "05/11/2022" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" wajir \- Watch Jira issues .SH "SYNOPSIS" .sp .nf \fIwajir\fR [\-\-login ] [\-\-token ] [\-\-endpoint ] [\-\-sendmail ] [\-\-email\-to
] [\-v | \-\-verbose] [\-h | \-\-help] [\-V | \-\-version] .fi .SH "DESCRIPTION" .sp Automatically watch Jira issues\&. Given a JQL query, the currently authenticated user will be added as a watcher on all resulting issues\&. .sp For example, this JQL query finds all issues in the project "FAKE" that are not watched by the current user: .sp .if n \{\ .RS 4 .\} .nf project = "FAKE" AND watcher != currentUser() ORDER BY created ASC .fi .if n \{\ .RE .\} .sp Passing the above JQL to Wajir will cause the current user to watch all unwatched issues in the "FAKE" project\&. .sp If the \fB\-\-sendmail\fR and \fB\-\-email\-to\fR options are provided, an email containing the issue summary, description, and a few other metadata fields will be sent using the program given in \fB\-\-sendmail\fR to the \fB\-\-email\-to\fR address\&. .SH "OPTIONS" .PP \-\-login .RS 4 Jira login email address\&. .RE .PP \-\-token .RS 4 Jira API token\&. Obtained from: https://id\&.atlassian\&.com/manage\-profile/security/api\-tokens .RE .PP \-\-endpoint .RS 4 The team\-specific Atlassian host (e\&.g\&. \fBexample\&.atlassian\&.net\fR)\&. .RE .PP \-\-sendmail .RS 4 The command named in this argument will be exec\(cqed and given an email on its standard input\&. This will typically be a Mail Transfer Agent or Mail Delivery Agent\&. If set, the \fB\-\-email\-to\fR option must also be set\&. .RE .PP \-\-email\-to .RS 4 Recipient email address that \(oqissue created\(cq emails will be sent to\&. .RE .PP \-v, \-\-verbose .RS 4 Turn on verbose output\&. .RE .PP \-h, \-\-help .RS 4 Print usage help\&. .RE .PP \-V, \-\-version .RS 4 Print the program version\&. .RE