How to change/update TeamArea value in RQM to an existing test artifact(especially for test script) with rest api. (python)
hello respective,
2 answers
I've found that some values will not take when you attempt to update them using the RqmApi, but do work when being updated via OSLC. Seems odd that you would need to perform two GET (one RqmApi, one OSLC) and two PUT (one RqmApi, one OSLC) but this has worked for me in the past.
See https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding for links to OSLC related information and the defined APIs.
Comments
Hey Ralph,
There is no actionable information in your comment. If you are unwilling or unable to provide the URI's and headers, there is nothing I can do. Have you been able to change the team area manually? What was the effect in the XML if you only did that? Is that what you are providing?
This is more information. As far as I can tell, that API is NOT an OSLC API. I do not know that API and can not help with it. I would try to only change the team area and compare the before and the answer. Maybe there is something missing. You could share that information here.
this is rest api actually, my exact point is, if test case and test suit are updating with updated value then why test script only not taking the updated value, and description and other things are updating but not the team area, even i am providing the correct value.
This might help: https://jazz.net/wiki/bin/view/Main/RqmApi . I do not know why you see what you see. I would assume that if you PUT the changed correct data, then it should work. But I know that this is sometimes not true. I would set the team area in the UI to Team1 and GET the data. Then I would set the team area Team 2 and then get the data. Then I would send the response body of the first GET and see if the change happens. If not, there might be a defect or something is not supported.
ok, sure. meanwhile i will check in some other way and let you know.
Sure, why follow the sensible way, try something else.
hello Ralph, did you get any way out in this !!! i didn't get any success for updating existing testscript team area.
The API you are trying to use is not a public API as far as I can tell. You can try to look into the API Landing Page and try to follow the OSLC API. I do not have the time any more to provide advice that is not followed anyway.