Is there a way to retrieve via oslc all states urls
![]()
Is there a service that shows all sates urls?
I found a few by searching through workitems, but I wanna know if there's a service that returns all of them, if not, how to know if there's more?
The version of rtc I'm using is 5.0
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/orientacao_operacao_workflow
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/defeito_producao
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/projeto_fluxo
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/entrega_fluxo
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/com.ibm.team.workitem.taskWorkflow
|
Accepted answer
![]()
I checked it out, but still not what I'm looking for.
I need the equivalent of this:
Select distinct status_id
from workitem_statuses
where project_area_id = _VXfnAFntEeSkPKc3ubLimQ
and the return would be a xml like this:
<rdf:RDF>
<rdf:Description rdf:about="https://localhost:9443/ccm/oslc/contexts/_VXfnAFntEeSkPKc3ubLimQ/states">
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/orientacao_operacao_workflow" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/defeito_producao" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/projeto_fluxo" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/entrega_fluxo" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/com.ibm.team.workitem.taskWorkflow" />
</rdf:Description>
</rdf:RDF>
Ralph Schoon selected this answer as the correct answer
Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I accepted this answer for you, as I think you found the solution. Please let me know if that is not correct. Thanks!
|