How to get IQueryableAttribute for Team area ?
vinitha dsouza (147●2●23●136)
| asked Nov 14 '17, 3:03 a.m.
edited Nov 14 '17, 5:23 a.m. by Ralph Schoon (63.6k●3●36●46) Hello team
|
Accepted answer
Ralph Schoon (63.6k●3●36●46)
| answered Nov 14 '17, 5:17 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 14 '17, 5:17 a.m. If you had a proper setup (setup the SDK and plain Java together) you would basically be able to see that there is no (built in) attribute for the team area similar to the project area: com.ibm.team.workitem.common.model.IWorkItem.PROJECT_AREA_PROPERTY .
vinitha dsouza selected this answer as the correct answer
Comments 1
I had the time and checked how that is done in the API. See the section "Synthetic Attributes" in https://rsjazz.wordpress.com/2012/11/19/using-expressions-for-automation/ for how that works and where to look.
Thank you very much ! It works like a charm
Welcome, it was a revelation to find that one. The question has come up before.
Geoffrey Clemm
commented Nov 15 '17, 5:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As a side note, I was taking a look at the code, and it appears that TeamArea is the only queryable synthetic attribute. Yea. Realized that later on as well. Leave it to the reader to realize it as well. And you never know if there will be a new one in the future. Stranger things have happened.
|
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.