Hi,
I am trying to use the XML-RPC API to manage the notifiers for a
project, but am unsuccessful doing so.
When adding notifiers in the web-ui, and iterating over the
projects/notifiers, list of notifiers length is always zero.
I am using SampleClient.java as basis, code snippet:
projects = pr.readProjects();
for ( int i = 0; i < projects.length; i++ )
{
System.out.println( projects[i] + " - Name=" +
projects[i].getName() );
List notifiers = projects[i].getNotifiers();
System.out.println(notifiers.size()); // Always zero
When trying to add a notifier by creating a new one and adding it by:
projects[i].addNotifier(newNotifier);
the notifier doesn't seem to get added.
Am I missing something here, what to do to get this working?
Thanks,
Arent-Jan