Triggering an external script/program from a state change
I need to do some external processing on the state change of a work item. For example, when a work item is moved from "New" to "In progress" state, I need to kick off a script and/or Java Program to do some work in an external system. I can easily write the script/java program, but haven't yet figured out how to trigger the execution of this script/program from within the process configuration/workflow.
Does anyone have an example?
Susan
Does anyone have an example?
Susan
5 answers
Hi Susan,
to do something like that it is possible to write a server extension (Eclipse plug-in). There are several extension points that might be applicable such as follow up actions on saving work items. This is discussed in the forum: http://jazz.net/forums/viewforum.php?f=2.
There is also a workshop that could help to understand what needs to be done: http://jazz.net/library/article/477.
Ralph
to do something like that it is possible to write a server extension (Eclipse plug-in). There are several extension points that might be applicable such as follow up actions on saving work items. This is discussed in the forum: http://jazz.net/forums/viewforum.php?f=2.
There is also a workshop that could help to understand what needs to be done: http://jazz.net/library/article/477.
Ralph
I need to do some external processing on the state change of a work item. For example, when a work item is moved from "New" to "In progress" state, I need to kick off a script and/or Java Program to do some work in an external system. I can easily write the script/java program, but haven't yet figured out how to trigger the execution of this script/program from within the process configuration/workflow.
Does anyone have an example?
Susan
Hello Susan,
not sure this will meet your request, but I'm sharing with you the links
I found on jazz.net:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Event_Handlers
and
https://jazz.net/wiki/bin/view/Main/ProcessExtensionSchemas#Followup_Action_Template
Hope it helps.
--
Eric JODET
Jazz Development - L3 Maintenance
Le 1/10/2011 2:38 PM, smhanson a crit :
not sure this will meet your request, but I'm sharing with you the links
I found on jazz.net:
https://jazz.net/wiki/bin/view/Main/TeamProcessDeveloperGuide#Adding_New_Event_Handlers
and
https://jazz.net/wiki/bin/view/Main/ProcessExtensionSchemas#Followup_Action_Template
Hope it helps.
--
Eric JODET
Jazz Development - L3 Maintenance
Le 1/10/2011 2:38 PM, smhanson a crit :
I need to do some external processing on the state change of a work
item. For example, when a work item is moved from "New" to
"In progress" state, I need to kick off a script and/or Java
Program to do some work in an external system. I can easily write the
script/java program, but haven't yet figured out how to trigger the
execution of this script/program from within the process
configuration/workflow.
Does anyone have an example?
Susan
Thanks Ralph, this looks like the pointer I needed. I've started downloading things, but going through the instructions, it seems that it is 2002-based ... do you know if there is a new one based on 3.0? As well, I don't have a server running on my development laptop, but would run against a server ... is this possible?
Susan
Susan
Hi Susan,
to do something like that it is possible to write a server extension (Eclipse plug-in). There are several extension points that might be applicable such as follow up actions on saving work items. This is discussed in the forum: http://jazz.net/forums/viewforum.php?f=2.
There is also a workshop that could help to understand what needs to be done: http://jazz.net/library/article/477.
Ralph
I need to do some external processing on the state change of a work item. For example, when a work item is moved from "New" to "In progress" state, I need to kick off a script and/or Java Program to do some work in an external system. I can easily write the script/java program, but haven't yet figured out how to trigger the execution of this script/program from within the process configuration/workflow.
Does anyone have an example?
Susan
Susan,
you can find more details about the RTC 3.0 SDK here https://jazz.net/wiki/bin/view/Main/RTCHome. The RTC 3.0 SDK says it is very similar to the 2.0 so I would assume you could just go ahead with the description in the workshop. The workshop comes with .tar files for the reposiotry. I assume you could import that in RTC 3.0.
Please also look at Eric's examples.
(Eric, can you tell me the secrete how you found those? I tried to hunt them down for Susan bat to no avail...)
Ralph
you can find more details about the RTC 3.0 SDK here https://jazz.net/wiki/bin/view/Main/RTCHome. The RTC 3.0 SDK says it is very similar to the 2.0 so I would assume you could just go ahead with the description in the workshop. The workshop comes with .tar files for the reposiotry. I assume you could import that in RTC 3.0.
Please also look at Eric's examples.
(Eric, can you tell me the secrete how you found those? I tried to hunt them down for Susan bat to no avail...)
Ralph
Thanks Ralph, this looks like the pointer I needed. I've started downloading things, but going through the instructions, it seems that it is 2002-based ... do you know if there is a new one based on 3.0? As well, I don't have a server running on my development laptop, but would run against a server ... is this possible?
Susan
Hi Susan,
to do something like that it is possible to write a server extension (Eclipse plug-in). There are several extension points that might be applicable such as follow up actions on saving work items. This is discussed in the forum: http://jazz.net/forums/viewforum.php?f=2.
There is also a workshop that could help to understand what needs to be done: http://jazz.net/library/article/477.
Ralph
I need to do some external processing on the state change of a work item. For example, when a work item is moved from "New" to "In progress" state, I need to kick off a script and/or Java Program to do some work in an external system. I can easily write the script/java program, but haven't yet figured out how to trigger the execution of this script/program from within the process configuration/workflow.
Does anyone have an example?
Susan
Susan,
running against a server I missed. Eventually you would have to deploy the result of your efforts on your productive server.
While developing, since the extensions are server side, I'd recommend to follow the script and set up your own test server on your own machine. The instructions describe how to do that.
This is what I typically do: create my own test environment and test server that runs on my laptop until stabelisation. In fact the Jazz developers pretty much do the same.
Ralph
running against a server I missed. Eventually you would have to deploy the result of your efforts on your productive server.
While developing, since the extensions are server side, I'd recommend to follow the script and set up your own test server on your own machine. The instructions describe how to do that.
This is what I typically do: create my own test environment and test server that runs on my laptop until stabelisation. In fact the Jazz developers pretty much do the same.
Ralph
Thanks Ralph, this looks like the pointer I needed. I've started downloading things, but going through the instructions, it seems that it is 2002-based ... do you know if there is a new one based on 3.0? As well, I don't have a server running on my development laptop, but would run against a server ... is this possible?
Susan
Hi Susan,
to do something like that it is possible to write a server extension (Eclipse plug-in). There are several extension points that might be applicable such as follow up actions on saving work items. This is discussed in the forum: http://jazz.net/forums/viewforum.php?f=2.
There is also a workshop that could help to understand what needs to be done: http://jazz.net/library/article/477.
Ralph
I need to do some external processing on the state change of a work item. For example, when a work item is moved from "New" to "In progress" state, I need to kick off a script and/or Java Program to do some work in an external system. I can easily write the script/java program, but haven't yet figured out how to trigger the execution of this script/program from within the process configuration/workflow.
Does anyone have an example?
Susan