Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing comment is not present in ISSUE_RESOLVED notification #1474

Open
1 task done
lucas-dclrcq opened this issue Mar 13, 2025 · 1 comment
Open
1 task done

Closing comment is not present in ISSUE_RESOLVED notification #1474

lucas-dclrcq opened this issue Mar 13, 2025 · 1 comment
Labels
awaiting triage This issue needs to be reviewed bug Something isn't working

Comments

@lucas-dclrcq
Copy link

Description

Hello,

When closing an issue with a comment, the webhook notification payload does not have the comment section set as in the ISSUE_COMMENT notification :

{
	"notification_type": "ISSUE_RESOLVED",
	"event": "Issue Resolved",
	"subject": "Some Movie (2011)",
	"message": "Some problem",
	"image": "https://image.tmdb.org/t/p/w600_and_h900_bestv2/5UaYsGZOFhjFDwQh6GuLjjA1WlF.jpg",
	"media": {
		"media_type": "tv",
		"tmdbId": "42009",
		"tvdbId": "253463",
		"status": "PARTIALLY_AVAILABLE",
		"status4k": "UNKNOWN"
	},
	"request": null,
	"issue": {
		"issue_id": "33",
		"issue_type": "OTHER",
		"issue_status": "RESOLVED",
		"reportedBy_email": "michel",
		"reportedBy_username": "michel",
		"reportedBy_avatar": "/avatarproxy/6e8f2632b83245ad9b5104c470a16776",
		"reportedBy_settings_discordId": "",
		"reportedBy_settings_telegramChatId": ""
	},
	"comment": null,
	"extra": []
}

Version

2.5.0

Steps to Reproduce

  1. Configure webhook notifications, ensure the Issue commented notification type is checked
  2. Create an issue
  3. Close the issue with a comment
  4. The webhook receives an ISSUE_COMMENT notification with no comment section

Screenshots

No response

Logs

Platform

desktop

Database

PostgreSQL

Device

N/A

Operating System

Linux

Browser

Firefox

Additional Context

No response

Code of Conduct

  • I agree to follow Jellyseerr's Code of Conduct
@lucas-dclrcq lucas-dclrcq added awaiting triage This issue needs to be reviewed bug Something isn't working labels Mar 13, 2025
@fallenbagel
Copy link
Owner

fallenbagel commented Mar 14, 2025

Did you add the comment variable to the payload?
https://docs.overseerr.dev/using-overseerr/notifications/webhooks#template-variables

Special
The following variables must be used as a key in the JSON payload (e.g., "{{extra}}": []).
{{comment}}
The "extra" array of additional data for certain notifications (e.g., season/episode numbers for series-related notifications)

Could we see the full payload you configured instead of the result?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting triage This issue needs to be reviewed bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants