It's all about the answers!

Ask a question

Server SDK - follow-up action on discard of changeset


Bernd van Oostrum (21725671) | asked Dec 05 '19, 6:17 a.m.
edited Dec 05 '19, 6:19 a.m.

 Hi,


Is there an operationID that can be used to create follow-up actions that are called as soon as changesets are being discarded?

Best regards,
Bernd.

Accepted answer


permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 05 '19, 12:41 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I am not aware of any process being available on workspace modification actions, since workspaces do not belong to project areas, and all process is defined in project areas.

David Lafreniere selected this answer as the correct answer

Comments
Bernd van Oostrum commented Dec 06 '19, 3:23 a.m.
The checkin-event is an example of an event on a workspace which can be extended.

Regards,
Bernd.


Ralph Schoon commented Dec 06 '19, 9:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The issue is, that the discard does not do anything to the change set itself. It just removes it from the stream or workspace. You can trigger on save change set, but not on discard.


Geoffrey Clemm commented Dec 06 '19, 11:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

To expand on Ralph's comment, a checkin-event is treated as an event on a component and therefore the process can be obtained from the project area that owns the component.   Note that if a component is owned by a user rather than a project area, you cannot define checkin-events on that component. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.