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

Allow send success comment on related issues #779

Open
rollsover opened this issue Oct 11, 2024 · 1 comment
Open

Allow send success comment on related issues #779

rollsover opened this issue Oct 11, 2024 · 1 comment

Comments

@rollsover
Copy link

I dot use closes issues, but issue is closing after merge manually, so after release i want see in issue in witch release is feature resolved

I seen implementation, so we may get related issues by this api, and send comments like issues, but without filtering by status (with not closed issues)

Maybe use some alternative message, and by default is feature disabled by config

Or second way:

Get from project config, info about "closes" feature, and use related issues as alternative for closes issues

@JonasSchubert
Copy link
Contributor

Hi @rollsover and sorry for the late response!
I hope I understand your request correct: You want to send a success comment only to a filtered list of issues?
You can do that if you are using version 13.2.0 and up. These versions have the possibility to set conditions for success comments.
If you only want to comment on issues which are closed, you could set the successCommentCondition to something like "<% return issue.state === 'closed' %>".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants