It's all about the answers!

Ask a question

How do I discover project area work item queries using OSLC?


Andy Phillipson (10431418) | asked Nov 22 '12, 12:14 a.m.
JAZZ DEVELOPER
I understand how I can form a work item query using OSLC as https://jazz.net/library/article/352 describes.  However, each project area has a list of shared and private queries that I would like to be able to access and run via OSLC.  There is a url of the form ...ccm/oslc/queries that returns a list of all queries for all project areas but this doesn't seem too useful... a few questions about this:
  1. How would I discover this url (...ccm/oslc/queries) starting with rootservices?
  2. How can I limit the scope of what this url would return so that I'm not returning queries across all project areas?
  3. Generally, what is the best way to access and run project area stored queries using discovery (or do I just have to know this url and embed it in my program code)?

One answer



permanent link
Andy Phillipson (10431418) | answered Nov 22 '12, 10:59 a.m.
JAZZ DEVELOPER
Found the explanation I was looking for here. You cannot discover project area stored queries, you have to know the query collection uri entry point:

https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Using_Stored_Queries

Your answer


Register or to post your answer.