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

Custom attributes and the Reportable REST API

We have an RTC workitem type with some custom attributes of type "Contributor" and would like to report on these attributes using Rational Insight, but cannot locate them.

In Insight, I've run the following query against the RTC work item data source (workitem301.xdc):
SELECT * FROM "WORKITEM_CCM"."CustomAttr"
which seems to correspond with allExtensions in RTC:
https://server:port/ccm/rpt/repository/workitem?fields=workItem/workItem/allExtensions/*

It returns custom attributes of type small/medium/large string, integer, etc, but not of type Contributor. Is there a way to access these custom "Contributor" attributes via the Reportable REST API (https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI), or is there another way to load them into Insight?

We're using RTC 3.0.1.

Thanks,
Jon

0 votes



5 answers

Permanent link
Currently the reportable REST API only supports simple custom attributes.
BTW, if you use ?metadata=schema, you will see the supported schema.

1 vote


Permanent link
Hello, Any luck in finding an answer for this, i am facing the same issue

Hello, as Rafik noted, this is not currently supported. FYI, there is an enhancement request (Enhancement 184675). In the enhancement discussion thread there's a potential workaround offered, but it did not meet our needs.

1 vote

Comments

Status of Enhancement 184675 shows it was delivered in 4.0.3.
You might want to try out (have not done it myself -yet-)

Regards,
Stéphane


Permanent link
We have an RTC workitem type with some custom attributes of type "Contributor" and would like to report on these attributes using Rational Insight, but cannot locate them.

In Insight, I've run the following query against the RTC work item data source (workitem301.xdc):
SELECT * FROM "WORKITEM_CCM"."CustomAttr"
which seems to correspond with allExtensions in RTC:
https://server:port/ccm/rpt/repository/workitem?fields=workItem/workItem/allExtensions/*

It returns custom attributes of type small/medium/large string, integer, etc, but not of type Contributor. Is there a way to access these custom "Contributor" attributes via the Reportable REST API (https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI), or is there another way to load them into Insight?

We're using RTC 3.0.1.

Thanks,
Jon

0 votes


Permanent link
Hello, Any luck in finding an answer for this, i am facing the same issue


We have an RTC workitem type with some custom attributes of type "Contributor" and would like to report on these attributes using Rational Insight, but cannot locate them.

In Insight, I've run the following query against the RTC work item data source (workitem301.xdc):
SELECT * FROM "WORKITEM_CCM"."CustomAttr"
which seems to correspond with allExtensions in RTC:
https://server:port/ccm/rpt/repository/workitem?fields=workItem/workItem/allExtensions/*

It returns custom attributes of type small/medium/large string, integer, etc, but not of type Contributor. Is there a way to access these custom "Contributor" attributes via the Reportable REST API (https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI), or is there another way to load them into Insight?

We're using RTC 3.0.1.

Thanks,
Jon

0 votes


Permanent link
Hello, Any luck in finding an answer for this, i am facing the same issue

Hello, as Rafik noted, this is not currently supported. FYI, there is an enhancement request (Enhancement 184675). In the enhancement discussion thread there's a potential workaround offered, but it did not meet our needs.


Thanks for the info, I will develop a plugin which copies the value from contributor field to another field of type string.. At least this will bring the data to insight.

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: Nov 10 '11, 3:51 p.m.

Question was seen: 6,088 times

Last updated: Jun 18 '13, 5:50 a.m.

Confirmation Cancel Confirm