From a2580a100455b4cf5b5f910a68999da8b224ebf4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 11 Nov 2025 18:50:42 -0500 Subject: [PATCH] spelling: jira Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- README.md | 2 +- index.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8f7a106..836a172 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Help bot for Apache Cordova This is currently running in the [Cordova Slack](http://slack.cordova.io). -Whenever a token in the form of CB-XXXX is mentioned, and the bot is present in the channel, it will grab the issue summary, resolution status, and issue status from JIRA and respond. +Whenever a token in the form of CB-XXXX is mentioned, and the bot is present in the channel, it will grab the issue summary, resolution status, and issue status from Jira and respond. The bot can connect to up to two Slack teams. diff --git a/index.js b/index.js index 509028d..26d670e 100755 --- a/index.js +++ b/index.js @@ -60,7 +60,7 @@ controller.hears('hello', 'direct_message,direct_mention,mention', function(bot, // give the bot something to listen for. controller.hears('help', 'direct_message,direct_mention,mention', function(bot, message) { - bot.reply(message, 'Hello! I will expand any Cordova JIRA links in the form of CB-XXXX. Invite me to a channel, mention me in a message, or directly message me to see it in action.'); + bot.reply(message, 'Hello! I will expand any Cordova Jira links in the form of CB-XXXX. Invite me to a channel, mention me in a message, or directly message me to see it in action.'); }); @@ -123,7 +123,7 @@ controller.hears('CB-[0-9]+', ['direct_message', 'direct_mention', 'mention', 'a var link = util.format('', val.key, val.key); return util.format('[%s, (%s, %s)] %s', link, val.status, val.resolution, val.summary); } else { - return util.format('[%s] %s', val.key, '*error: issue key not found in JIRA*') + return util.format('[%s] %s', val.key, '*error: issue key not found in Jira*') } }); bot.reply(message, { @@ -136,5 +136,5 @@ controller.hears('CB-[0-9]+', ['direct_message', 'direct_mention', 'mention', 'a } }); -// JIRA REST API, here "orientation" is being searched for. paged at 5, starting at 0. only showing link and summary fields +// Jira REST API, here "orientation" is being searched for. paged at 5, starting at 0. only showing link and summary fields // https://issues.apache.org/jira/rest/api/2/search?jql=(summary%20~%20%22orientation%22%20OR%20description%20~%20%22orientation%22%20OR%20comment%20~%20%22orientation%22)%20AND%20project%20%3D%20CB%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20created&startAt=0&maxResults=5&fields=link,summary