Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.
 

 

0 votes



2 answers

Permanent link
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.

0 votes

Comments

Thank you Ralf. I have not tested with Java solution as I do not know Java.
I found a sample REXX exec to run  via PGM=BPXBATCH on MVS.
I am trying to add a comment into an existing RTC via MVS batch job.  The job finds the RTC website and asks for authentication userid/password which get accepted.    However, when it needs to find the  existing Work Item  it fails with    " HTTP/1.1 302 Found  "

What does that mean and how can I resolve it? 
Thank you in advance. kal

I have no experience with that REXX script and with your environment so I can't help.

Here the meaning of http 302: https://en.wikipedia.org/wiki/HTTP_302


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Jul 26 '15, 10:48 p.m.

Question was seen: 3,933 times

Last updated: Nov 05 '15, 12:40 p.m.

Confirmation Cancel Confirm