Progressing through a process automatically
Hi,
In the process tutorial, it provides an example of how one would change
from one process state to the next manually.
https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect
This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.
https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png
How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new
events / handlers?
Thanks.
Regards,
Rem
In the process tutorial, it provides an example of how one would change
from one process state to the next manually.
https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect
This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.
https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png
How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new
events / handlers?
Thanks.
Regards,
Rem
2 answers
Rem,
The relevant extension point is com.ibm.team.process.service.eventHandlers
You can find available events by using content assist inside the process
specification/customization. There is no better discoverability mechanism
yet.
Content assist looks for all registered events. Events are registered by
providing an extension to the
com.ibm.team.process.service.configurationPoints
extension point.
Kai
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f3klcc$dsh$1@localhost.localdomain...
The relevant extension point is com.ibm.team.process.service.eventHandlers
You can find available events by using content assist inside the process
specification/customization. There is no better discoverability mechanism
yet.
Content assist looks for all registered events. Events are registered by
providing an extension to the
com.ibm.team.process.service.configurationPoints
extension point.
Kai
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f3klcc$dsh$1@localhost.localdomain...
Hi,
In the process tutorial, it provides an example of how one would change
from one process state to the next manually.
https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect
This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.
https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png
How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new events
/ handlers?
Thanks.
Regards,
Rem
Hi Kai,
Thanks for the response.
I see that the 0.6M0 client and SDK did not seem to actually include the
com.ibm.team.process.service plug-in. I have retrieved it from the
server installation so I can now see the extension point.
I have added breakpoints into CreateVerifyTask but it never gets there.
I rerun my work item query and do notice that a new task requesting for
the verification of a given defect when it goes into the RESOLVED state
is created.
Are these event handlers all run on the server side? Is it possible to
debug them myself? Could I be doing something wrong?
Thanks.
Regards,
Rem
Kai-Uwe Maetzel wrote:
Thanks for the response.
I see that the 0.6M0 client and SDK did not seem to actually include the
com.ibm.team.process.service plug-in. I have retrieved it from the
server installation so I can now see the extension point.
I have added breakpoints into CreateVerifyTask but it never gets there.
I rerun my work item query and do notice that a new task requesting for
the verification of a given defect when it goes into the RESOLVED state
is created.
Are these event handlers all run on the server side? Is it possible to
debug them myself? Could I be doing something wrong?
Thanks.
Regards,
Rem
Kai-Uwe Maetzel wrote:
Rem,
The relevant extension point is com.ibm.team.process.service.eventHandlers
You can find available events by using content assist inside the process
specification/customization. There is no better discoverability mechanism
yet.
Content assist looks for all registered events. Events are registered by
providing an extension to the
com.ibm.team.process.service.configurationPoints
extension point.
Kai
"Remy Chi Jian Suen" <remsuen@ca.ibm.com> wrote in message
news:f3klcc$dsh$1@localhost.localdomain...
Hi,
In the process tutorial, it provides an example of how one would change
from one process state to the next manually.
https://jazz.net/learn/LearnItem.jsp?href=content/docs/process/index.html#1._Update_the_Process_State_to_Reflect
This is very cumbersome and not very flexible since the project lead has
to make the change himself by hand. I would like to write something that
would allow the process state to jump to the next one once some
requirements has been fulfilled. I noticed that there is some event
handling mechanism that can be built into the process specification.
https://jazz.net/learn/content/docs/process/images/rc2_wi_save_eventhandler.png
How is this event handling invoked? I cannot find any extension points
with the 'event' or 'handle' string that seems relevant to process
control. What kind of events can I listen for? How do I declare new events
/ handlers?
Thanks.
Regards,
Rem