Tweak the Response Alert, AlertQuery change_status, set_ignored, assign methods - #1
Tweak the Response Alert, AlertQuery change_status, set_ignored, assign methods#1llyon-cb wants to merge 3 commits into
Conversation
|
@jjfallete Thanks for your additions to the Response models. I've tweaked your PR a bit based on manual testing. I'm sorry it's taken so long to get around to this! |
Thanks! Were you able to get this to work correctly in the single alert change_status def? In my testing I didn't think I could, but perhaps I missed something.
|
I was able to get that call to work, with a payload like this: { |
Pull request checklist
Please check if your PR fulfills the following requirements:
Pull request type
Please check the type of change your PR introduces:
Pull Request Description
I've modified the Alert and AlertQuery
set_ignored()andchange_status()methods a bit based on some manual testing.Alert.set_ignored()andAlertQuery.set_ignored():Alert.change_status()andAlertQuery.change_status():Looks like there's also a bug in the API where a change in status is required for a change in assignee to take effect, and I'm reaching out to the Response team about it now
Does this introduce a breaking change?
How Has This Been Tested?
The attached file was used for testing -- change the
.txtextension to.pyand modifyALERT_IDandALERT_QUERYto runOther information:
test_response_alerts.txt