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

How to fetch work item based on Project area, Team area and Planned for attributes ?

Hello Team,

How to fetch work item based on Project area, Team area and Planned for using Java API?
I am trying to fetch work items based on Project area, Team area and Planned for attributes

Below is the code snippet used to fetch work items based on Project area and Work Item type.

    Term term = new Term(Operator.AND);
    term.add(prjAreaExpression);
    term.add(workItemTypeExpression);
    term.add(workItemModifiedExpression);
 

    IQueryResult<IResolvedResult<IWorkItem>> queryResult =
        queryClient.getResolvedExpressionResults(projectArea, term, IWorkItem.FULL_PROFILE);


Can anyone please tell me how to do this.

Thank you.

0 votes



One answer

Permanent link

See https://rsjazz.wordpress.com/2012/11/19/using-expressions-for-automation/ for some more details. Basically you have to create query-able attributes and expressions and hook them together.

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
× 7,495
× 1,700

Question asked: Aug 17 '17, 6:30 a.m.

Question was seen: 4,160 times

Last updated: Aug 18 '17, 3:11 a.m.

Confirmation Cancel Confirm