Merged
Conversation
Signed-off-by: Matt Oswalt <matt@keepingitclassless.net>
f093e6b to
d52b3a2
Compare
LindsayHill
approved these changes
Dec 1, 2017
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new action,
st2.inquiry.respond, and an accompanying action-alias for use in chatops. With these, a user can respond to inquiries via chatops (though they will still have to put together the JSON payload themselves).Usage
The action can certainly be used on its own or in a workflow, using the Inquiry ID and the response payload:
In addition, the provided action-alias makes it possible to call this action from Slack (or another chatops-capable application). The result template also provides a bit of feedback to the user on whether or not their response was accepted:
Dependencies
Some
st2work needed to take place to prepare for this action, so this should not be merged before the below PRs are merged:st2.inquiry.respondaction)Documentation
I opened StackStorm/st2docs#672 to explain the new action and action-alias in the Inquiries section, as well as to explain the masking behavior introduced in StackStorm/st2#3868