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

Is it possible to generate a changelog in a json or xml format?

We're trying to setup a build process that needs to be able to process the files and work items that were changed with a build. We know we can get the changelog generated with the ant GenerateChangeLogTask. However this gives us a file format that isn't easily consumable/parsable. Is there a way to generate a json output for this instead? Or does somebody have a java snippet that could get us the similar information?

Thank!

0 votes

Comments

The (4.0.3) scm compare/list changesets operations have a -j ( --json ) flag that is described "Enable JSON output"

Look for "Source control command line reference" in the RTC InfoCenter (Rational Team Concert / Reference )



One answer

Permanent link
Scott,

Article 1031 describes how to use the SCM commandline to generate JSON output in various scripts. In addition to this article 195 mentions how to set up RTC builds with custom commands for build tasks. Combining the two should get you what you need.

If this answers your question please mark it as accepted.

- Arne

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,936
× 562
× 63

Question asked: Oct 22 '13, 9:46 a.m.

Question was seen: 6,988 times

Last updated: Dec 16 '13, 1:22 p.m.

Confirmation Cancel Confirm