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):
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
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
5 answers
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.
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
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
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
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