Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Anyone know how to listen for state events on a project?
For example: If someone "Starts" the project then I would like to listen for that event and run some code.
I thought that maybe I can use ProjectEventType or even ProjectAuditEvent. But that doesn't seem to work.
Martin, thanks for that information!
I was able to gather that we need to listen for an event key of 'ContainerTeamServiceEvent/STATE_CHANGE' after setting the wt property verboseEvents=true.
The Project2 class has a getCtmState() which provides the state information of a project which essentialy returns a ContainerTeamManagedState.