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

Query for listing all the work items, stories under an epic

Hello All,
             We have an epic which has many stories as a child... These stories have multiple work items as a child.... Is there a way to create query which list all the stories and work items under the epic...

We are looking for a query which outputs the whole tree under an epic....

Regards
Vishnu Kumar

0 votes

Comments

The problem with such a query is, that you are not able to create filters that are deeper than one level, So you will be able to setup a query for an epic that has children, but not more. And, such a query will give you only the children.
What you are looking for is at least available in the RTC Eclipse client. You can query for the top level work item, the epic, and setup the display options of the query result view in that way that the links, like parent child, are displayed too (I guess it is on the right side of the view, under Settings.) Unfortunately such a dependency tree is not possible in the web client in RTC.

Thanks...I will try it out.... it will suffice our requirement i guess...


Accepted answer

Permanent link
Create a Query with Condition on Type : Story
and Columns Display :  Parent |  ID |  Summary |  Children

Should get you that.

Below is a screen shot for reference :




I understand if you have multiple stories, the epics will still get listed multiple times and not a neat solution but hope you have something atleast...

and for a tree listing, I would go with plans like what Aradhya has suggested.
Ralph Schoon selected this answer as the correct answer

0 votes


2 other answers

Permanent link
Hi Vishnu

Have you tried using the Plans. The Plan view gets you the complete tree and a lot of other functionality as well. 
https://jazz.net/library/article/593 is a good getting started article on planning.

1 vote


Permanent link

Is there a way to find the Childrens for a given StoryId using Java Api of RTC?

Thanks

-1 votes

Comments

This is neither an answer, nor does asking a question on a at least three year old question with a totally different context seem to be a good idea.

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
× 12,019

Question asked: Oct 08 '13, 2:37 a.m.

Question was seen: 23,384 times

Last updated: Nov 09 '16, 5:32 a.m.

Confirmation Cancel Confirm