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

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?

0 votes


Accepted answer

Permanent link
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

1 vote

Comments

I missed that point. Thank you very much :)


2 other answers

Permanent link
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

0 votes


Permanent link
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.

0 votes

Comments

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

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
× 10,927
× 7,488
× 478

Question asked: Mar 07 '14, 4:34 a.m.

Question was seen: 7,874 times

Last updated: Jul 30 '14, 7:07 a.m.

Confirmation Cancel Confirm