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

REST API DNG Query

 Hi all,


I have two projects in DNG. 
Now I will make a query for more ids https://.../resources/resourceURI=id1Project1, id2Project1,...,id1Project1,id2Project2...
That's not working. I will only get the artifacts from project1, the artifacts from project2 are cut. Is there a way to get some artifacts of two different projects in one query?

...resourceURI=id1Project1&projectURI=project1Id is also not working.

Many thanks.

0 votes



One answer

Permanent link
Can you try either of the following?
https://server:port/rm/publish/resources?projectURI=id1,id2
https://server:port/rm/publish/resources?projectName=name1,name2

0 votes

Comments

Dear Subramanya,


Thanks for your answer, but I Don‘t Need the projects, I Need some artifacts (requirements) of two different projects, req1FromProject1, req2FromProject1, req1FromProjet2 and so on.
Sorry, ist seems, I misrepresented that.

No issues. By the way, the URIs mentioned should give all artifacts (resources) from 2 different projects.

Thanks, but the projects have really much artifacts. I only need some of them of project1 and some of project2. 

To get ALL in two projects in one query is to slow. 

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
× 12,023
× 1,700

Question asked: Apr 21 '20, 12:14 p.m.

Question was seen: 1,295 times

Last updated: Apr 22 '20, 4:10 a.m.

Confirmation Cancel Confirm