Archive project area via REST Api
I am trying to develop and integration between our project portfolio management tool and IBM CLM.
What I do is to read closed projects on PPM and Arhive them from CLM application. I have found some info on https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi but wasn't successfull on archiving projects. I use Mozilla POSTER plugin. I POST and PUT to his URL : https://server:9443/qm/process/project-areas/_BZPQQaVAEeOZWd5JZj9JgQ The content is <?xml version="1.0" encoding="UTF-8"?><jp06:project-area xmlns:jp06="http://jazz.net/xmlns/prod/jazz/process/0.6/" jp06:name="Zam31.59753463661717(Quality Management)"> <jp06:summary>Zam31.59753463661717(Quality Management)</jp06:summary> <jp06:modified>Thu, 06 Mar 2014 15:00:33 GMT</jp06:modified> <jp06:archived>true</jp06:archived> </jp06:project-area> But what I get is HTTP 403 on POST and HTTP 405 Method Not Allowed on PUT. Has anyone tried to do such operations? |
Accepted answer
You need to use the HTTP DELETE method. Note, the HTTP response codes (https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi#DELETE_project_area).
Canberk Akduygu selected this answer as the correct answer
Comments
Canberk Akduygu
commented Mar 07 '14, 6:39 a.m.
I missed that point. Thank you very much :)
|
2 other answers
Hi Paul,
I was wondering how we can remove the project from LPA screen. When I delete projects by using RRC RTC and RQM links, LPA projects still exist in https://server/admin/web/projects |
When you delete a project area using the RQM Reportable REST API, you are deleting the RQM project area, which is a member of the lifecycle project area.
Comments
Canberk Akduygu
commented Jul 30 '14, 6:13 a.m.
But how do I deleted my Lifecycle Project like in this example: RRC, RTC and RQM projects are deleted but in LPA side, I can see the LPA project. I want to remove that one.
Lifecycle projects can only be deleted in the Lifecycle Project Administration UI.
|
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.