It's all about the answers!

Ask a question

Archive project area via REST Api


Canberk Akduygu (99237371) | asked Mar 07 '14, 4:34 a.m.
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


permanent link
Paul Slauenwhite (8.4k12) | answered Mar 07 '14, 6:23 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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



permanent link
Canberk Akduygu (99237371) | answered Jul 25 '14, 7:17 a.m.
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

permanent link
Paul Slauenwhite (8.4k12) | answered Jul 26 '14, 8:03 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.


Paul Slauenwhite commented Jul 30 '14, 7:07 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Lifecycle projects can only be deleted in the Lifecycle Project Administration UI.

Your answer


Register or 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.