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

Filtering build result queries by personal build

I currently have a task that queries build results using the IBuildResultQueryModel. I would like the query to ignore personal builds, but I can't figure out how this would be done, or if it's even possible with the query model. Currently I have the query return all the matching results and filter the results using the IBuildResult.isPersonalBuild() method. Can this be done more efficiently?

Thanks,
-Dave

0 votes



2 answers

Permanent link
Sorry for the delay in responding. I've been heads-down with 3.0 RC0.

The personal build property is queryable, but in 2.x this was not exposed in the API query model. It's there on the internal one:
com.ibm.team.build.internal.common.model.query.BaseBuildResultQueryModel.BuildResultQueryModel. This has been fixed up in 3.0.

0 votes


Permanent link
That's what I was looking for. Thanks.

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

Question asked: Sep 07 '10, 11:34 a.m.

Question was seen: 4,951 times

Last updated: Sep 07 '10, 11:34 a.m.

Confirmation Cancel Confirm