Enable to add comments via API without notification
Bug #1989107 reported by
Daniel Schürmann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Ioana Lasc |
Bug Description
With Mixxx, we are in a process to migrate all Launchpad bugs as GitHub issues. For reference we add a link to the Launchpad bug to the GitHub issue and like to do the same at Launchpad. The idea is to add this as a bug comment.
However we are concerned about the flood of emails this will create.
We have ~6 k bugs with ~25 Subscriptions.
Ioana Lasc (ilasc) proposed to extend the API with that feature. This is the bug to track that work.
Thank you-
Related branches
~ilasc/launchpad:expose-send-notifications
Merged
into
launchpad:master
- Colin Watson (community): Approve
- Andrey Fedoseev (community): Approve
-
Diff: 259 lines (+183/-3)3 files modifiedlib/lp/bugs/interfaces/bug.py (+6/-1)
lib/lp/bugs/model/bug.py (+21/-1)
lib/lp/bugs/tests/test_bug_messages_webservice.py (+156/-1)
Changed in launchpad: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Ioana Lasc (ilasc) |
tags: | added: api |
tags: | added: lp-bugs |
Changed in launchpad: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
You should now be able to use `bug.newMessage (send_notificat ions=False) ` via the Launchpad API to do this. See https:/ /launchpad. net/+apidoc/ devel.html# bug-newMessage.