Ombi-app / Ombi

Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
http://ombi.io
GNU General Public License v2.0
3.71k stars 395 forks source link

[Issue] webhook notification not send "in progress" status #4124

Open Floflobel opened 3 years ago

Floflobel commented 3 years ago

Describe the bug I have set up webhook notifications on my Ombi instance but when I change the status of a request from "Pending issue" to "Mark In progress" I do not receive its status.

The status "Mark resolved" returns a json. To Reproduce Steps to reproduce the behavior:

  1. Open new issue
  2. On the admin panel click on the issue and select "Mark in progress"
  3. Nothing is return via webhook

Expected behavior I should receive a notification via webhook with the field "notificationType" set to "IssueInProgress" (for example).

Logs (Logs directory where Ombi is located)

Example of json returned when I open an issue:

192.168.1.160 - - [30/Mar/2021 14:39:46] "POST / HTTP/1.1" 200 -    
New commit by: {'requestId': None, 'requestedUser': None, 'title': "Bridget Jones : L'Âge de raison", 'requestedDate': None, 'type': 'Movie', 'additionalInformation': 'test | test', 'longDate': 'Tuesday, March 30, 2021', 'shortDate': '3/30/2021', 'longTime': '2:39:46 PM', 'shortTime': '2:39 PM', 'overview': None, 'year': None, 'episodesList': None, 'seasonsList': None, 'posterImage': 'https://image.tmdb.org/t/p/w300/', 'applicationName': 'Ombi', 'applicationUrl': '', 'issueDescription': 'test', 'issueCategory': 'Langue', 'issueStatus': 'Pending', 'issueSubject': 'test', 'newIssueComment': '', 'issueUser': 'Floflobel', 'userName': 'Floflobel', 'alias': 'Floflobel', 'userPreference': None, 'denyReason': None, 'availableDate': '', 'requestStatus': '', 'providerId': '', 'notificationType': 'Issue'}

Example of json returned when I close an issue:

192.168.1.160 - - [30/Mar/2021 14:39:46] "POST / HTTP/1.1" 200 -                                                                                                                                                     
New commit by: {'requestId': None, 'requestedUser': None, 'title': "Bridget Jones : L'Âge de raison", 'requestedDate': None, 'type': 'Movie', 'additionalInformation': 'test | test', 'longDate': 'Tuesday, March 30, 2021', 'shortDate': '3/30/2021', 'longTime': '2:39:56 PM', 'shortTime': '2:39 PM', 'overview': None, 'year': None, 'episodesList': None, 'seasonsList': None, 'posterImage': 'https://image.tmdb.org/t/p/w300/', 'applicationName': 'Ombi', 'applicationUrl': '', 'issueDescription': 'test', 'issueCategory': 'Langue', 'issueStatus': 'Resolved', 'issueSubject': 'test', 'newIssueComment': '', 'issueUser': 'Floflobel', 'userName': 'Floflobel', 'alias': 'Floflobel', 'userPreference': None, 'denyReason': None, 'availableDate': '', 'requestStatus': '', 'providerId': '', 'notificationType': 'IssueResolved'}                                      192.168.1.160 - - [30/Mar/2021 14:39:56] "POST / HTTP/1.1" 200 -

Desktop (please complete the following information):

Ombi Version (please complete the following information):

ombi-bot commented 3 years ago

Hi!
Thanks for the issue report. Before a real human comes by, please make sure you used our bug report format.
Have you looked at the wiki yet? https://docs.ombi.app/
Before posting make sure you also read our FAQ.
Make the title describe your issue. Having 'not working' or 'I get this bug' for 100 issues, isn't really helpful.
If we need more information or there is some progress we tag the issue or update the tag and keep you updated.
Thanks!
Ombi Bot.

Floflobel commented 3 years ago

Same problem when I click on "Delete issue".