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

How to output the list of project area

Please give me advice on this.
There are many project areas in our repository.
I want to list the project areas into a text file.

Is there any good way(command or something like that)?

0 votes


Accepted answer

Permanent link
Running a DB query is a very ill advised suggestion. You should never try to access the process data directly with SQL. Use either our public Java API or REST API defined at https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi.

Don
_________________
Jazz Team Process
Jared Burns selected this answer as the correct answer

1 vote

Comments

To expand a bit on why it is better to use an officially supported external API, this protects your client code both from the kind of database implementation differences identified earlier in this thread, and from release-to-release changes in the underlying database tables that would invalidate your SQL.

Cheers,
Geoff

This is a very ill advised suggestion. You should never try to access the process data directly with SQL. Use either our public Java API or REST API defined at https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi.

Don
_____
Jazz Team Process


One other answer

Permanent link
SELECT
,
FROM ..
WHERE ...ARCHIVED = 0

That SQL can give you the non archived projects. Hope that helps.

-1 votes

Comments

Thank you for your suggestion.
I changed the SQL a little and it worked :)
I thinks it depends on what database is being used.

Thank you for your suggestion.
I changed the SQL a little and it worked :)
I thinks it depends on what database is being used.



The syntax chages from DB to DB. I sent you you the MS SQL one :)

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

Question asked: Apr 11 '12, 7:24 a.m.

Question was seen: 5,106 times

Last updated: Jul 18 '12, 4:42 p.m.

Confirmation Cancel Confirm