module documentation
retrieve issues data from Jira and post useful generated outputs to Slack
Function | issues |
Iterate through issues and generate message body for slack alert messages given JQL of tickets to process and a title for the message. |
Function | key |
Creates Jira issue URL from a given issue key using the server url set in jiraOptions above. |
Constant | STATUS |
Dictionary to specify how the header for each Jira status should be displayed when generating the categorized issues list output in issues_body() function. Emojis encouraged. |
Iterate through issues and generate message body for slack alert messages given JQL of tickets to process and a title for the message.
Parameters | |
jql:str | JQL for issues; e.g. 'project=CE AND status in ("Under Review", "Pending Peer Review")' |
title:str | Title of alerts for this group of tickets; e.g. 'Stalled for Review' |
cli:bool | Undocumented |
Returns | |
str | multi line string of tickets list in nice human readable, categorized format, properly encoded for sending as body in http request to slack api |
Creates Jira issue URL from a given issue key using the server url set in jiraOptions above.
Parameters | |
key:str | Jira issue key; e.g. 'CE-1234'. |
Returns | |
str | URL of Jira issue. |
Dictionary to specify how the header for each Jira status should be displayed when generating the categorized issues list output in issues_body() function. Emojis encouraged.
Value |
|