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

Need to fetch the history details (mainly below mentioned fields) from RTC and upload the same to Jira history fields.

 Problem statement : Need to fetch the history details (mainly below mentioned fields) from RTC and upload the same to Jira history fields.


We are using below URL to fetch the history details.


5 fields/attributes :  
1. Modified Date
2. Modified By
3. Attribute Modified
4. New/Modified value
5. Old/previous value
For Modified Date, Modified By we can fetch using xpaths. Issue with fetching the other fields.

Issue : 
1. How to identify which attribute or field was modified in the recent modification and what was the previous and updated value of it.
Comparing 2 itemHistory tags of payload wont work as the xpaths are not gonna work on it.
Ex. ItemHistory Node 2 – ItemHistory Node 1. (Base on Predecessor and State ID tag)

2. How can we identify the RTC attribute in the history payload for mapping the same to Jira fields.
Ex. “Planned For” field was updated, which is mapped against name tag. (Xpath : <workItem> -> <itemHistory> -> <target> ->  <name>)
This we figured out ,searching with the field value in XML for the given workitem.

0 votes


Be the first one to answer this question!

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

Question asked: Nov 06 '19, 1:10 a.m.

Question was seen: 405 times

Last updated: Nov 06 '19, 1:10 a.m.

Confirmation Cancel Confirm