Feature #6727

Add/remove issue watchers via REST API

Added by Nick Fitzgerald about 7 years ago. Updated almost 5 years ago.

Status:ClosedStart date:2010-10-22
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:2.3.0
Resolution:Fixed

Description

Currently there does not seem to be a way to add watchers to an issue using the API. This includes during issue creation and through an update.


Related issues

Duplicated by Redmine - Feature #10637: add/remove issue watcher via REST API for issues Closed
Duplicated by Redmine - Feature #13029: add/remove watchers for Issues Closed

Associated revisions

Revision 11290
Added by Jean-Philippe Lang almost 5 years ago

Add/remove issue watchers via the REST API (#6727).

History

#1 Updated by Eric Davis about 7 years ago

This should be two APIs:

  • One to add watchers when creating an issues (just like the main issues form)
  • One to add/remove watchers individually (just like the sidebar actions)

#2 Updated by Aaron Devey over 6 years ago

I need this fixed too. We rely heavily on redmine's watchers to notify the appropriate team(s) of new issues, changes, etc. Depending on the type of issue, different watchers need to be notified.

#3 Updated by Stan Shore over 6 years ago

I need this capability as well.

#4 Updated by Manuel Padrón Martínez over 6 years ago

I need it too.

#5 Updated by Stéphane Schoorens over 6 years ago

Any news about that capability ?

#6 Updated by Pavel Samokha about 6 years ago

Need it too, also now we can't even know who watched issue - need something like ?include=watchers to be implemented

#7 Updated by Chris Hoffman almost 6 years ago

I need this also...

#8 Updated by RedminePro Yang over 5 years ago

+1

#9 Updated by Christopher Proud over 5 years ago

+1

#10 Updated by Mike Sam over 5 years ago

+1

#11 Updated by Cory Riddell over 5 years ago

I hate saying "me too", but... me too.

#12 Updated by David Prothero about 5 years ago

+1

#13 Updated by mina Beshay about 5 years ago

+1

#14 Updated by Glauber Matos about 5 years ago

+1

#15 Updated by Alexey Acidoff almost 5 years ago

It's really needed

#16 Updated by Francesco Fiorentino almost 5 years ago

+1 important feature

#17 Updated by Paul Wehle almost 5 years ago

+1 same here.

We got end users adding issues directly from our desktop application and would need to notify other team members :/

update: 100 EUR / 130 USD here for sponsoring this, I added a sponsoring issue to freedomsponsors but cannot link it here due to spam. Search with the title of this ticket to find it :)

#18 Updated by Jean-Philippe Lang almost 5 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 2.3.0
  • Resolution set to Fixed
Feature added in r11290. You can now:
  • add watchers when creating an issue
  • get the list of watchers for a given issue (with ?include=watchers)
  • add a watcher to an existing issue
  • remove a watcher

This is documented in Rest_Issues.

#19 Updated by Jean-Philippe Lang almost 5 years ago

  • Subject changed from Add watchers to issue via REST API to Add/remove issue watchers via REST API

#20 Updated by Tony Lampada almost 5 years ago

Jean-Philippe, this is Tony from FreedomSponsors.
This is just a reminder that you got USD 134 waiting for you for solving this issue.
That offer was made by Paul Wehle (see his comment above).
You need to mark the issue as resolved on the FreedomSponsors website before Paul is able to pay his offer.

The issue link is freedomsponsors.org/core/issue/136/add-watchers-to-issue-via-rest-api

Cheers :-)

Also available in: Atom PDF