This repository has been archived by the owner on Jun 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f2dbf3
commit 39e8f55
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39e8f55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding of the cache was that it would prevent spamming the channel with the details if you keep talking about it for a couple of minutes, not just prevent it from hitting JIRA. Was what you meant by "repair" to make it work every time but cache the REST call, or was this to fix something else?
Note that this change makes it mandatory to add hubot to
HUBOT_JIRA_ISSUES_IGNORE_USERS
, otherwise it'll get itself into an infinite loop under some adapters.39e8f55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you create a new issue for this? Commit comments aren't great for tracking resolution of stuff. Also worth noting that we're looking for a maintainer of these jira scripts.
Some adapters have options to not receive messages from itself as well.
39e8f55
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks - I was hoping the comment here would catch the attention of @melbit-deanfogarty to see if it was intentional. I've found and updated #1174 which discussed this behaviour even if not related to this commit.
I'm happy to contribute as time allows, but don't have the bandwidth to be a maintainer.