Create or update an RTC Work Item via MVS / zOS batch job.
Hi, We have RTC 5.0.2 and also RTCz 5.0./2 MVS.
We want to create an RTC Work Item by running a batch job on MVS platform.
Do you have an example to
1. update an existing WI with a comment or change status?
2. create a new WI. Just passing basic info. eg. Summary, Type= Defect , Tags = aad , Description.
Sample job JCL and an exec to do such would be greatly appreciated.
Thank you in advance.
Kal.
We want to create an RTC Work Item by running a batch job on MVS platform.
Do you have an example to
1. update an existing WI with a comment or change status?
2. create a new WI. Just passing basic info. eg. Summary, Type= Defect , Tags = aad , Description.
Sample job JCL and an exec to do such would be greatly appreciated.
Thank you in advance.
Kal.
2 answers
I am not aware of an example for that. You might be able to use REST/OSLC for this. See https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Creating_Work_Items for more information.
I have created this Java based solution https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ but that requires the Plain Java API and I am not sure if you can run this on the Z.
I have created this Java based solution https://rsjazz.wordpress.com/2015/02/27/a-rtc-workitem-command-line-version-2-2/ but that requires the Plain Java API and I am not sure if you can run this on the Z.
Comments
There are various ways to invoke either a Java or Unix shell script from JCL (which can turn around and call Java). See http://www-01.ibm.com/support/docview.wss?uid=tss1wp101783&aid=1