Can we use the REST API <Archive issue(s) by JQL> to bulk archive JPD ideas?
Asked by Leo LI:

Hi team,

When I tried to use the REST API below to bulk archive JPD ideas, which looks like not work. However, it works for the Jira Software project with my attempts.

Much appreciated if you can help to provide some more information about below questions.

* Does the REST API \<**[Archive issue(s) by JQL](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issues/#api-rest-api-2-issue-archive-post)**\> support JPD ideas?
* Does the "Business Projects" include Jira Product Discovery projects?

![image (1).png](https://community.atlassian.com/t5/image/serverpage/image-id/295473iAFF4CB6B9BB092B9/image-size/large?v=v2&px=999 "image (1).png")


Answers:
author: Nick H
body: Hi [@Leo LI](/t5/user/viewprofilepage/user-id/5308835) ,

[Business projects](https://support.atlassian.com/jira-work-management/docs/create-a-business-project/) are a [Jira Work Management](https://support.atlassian.com/jira-work-management/) project, not considered a Jira Product Discovery project.

And I don't believe this command is supported with JPD at the moment. After testing, I'm getting a 202 response which is being accepted, but my JPD ideas are not being archived. For example with Postman:

![archive1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/295564i3E6CB493B33CF881/image-size/large?v=v2&px=999 "archive1.jpg")![archive2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/295563iA8332579550D4BBC/image-size/large?v=v2&px=999 "archive2.jpg")

As you can see, no JPD ideas were actually archived - but if you see in the screenshot below, there were some that met the JQL criteria.

If I retest and adjust the JQL to a Jira project, I get a 202 response as well - but issues are actually being archived.

So at the moment, the workaround would be filtering on the JPD ideas and bulk archiving them:

![archive3.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/295565i608163525C988D43/image-size/large?v=v2&px=999 "archive3.jpg")

comments: author: Leo LI
body: Hi [@Nick H](/t5/user/viewprofilepage/user-id/2540930) ,

Thanks for your timely response! Actually, I got the same result when I tested it.

The other problem is that there seems no bulk Archive option when I'm going to bulk change batch of ideas, like below.

![image (2).png](https://community.atlassian.com/t5/image/serverpage/image-id/295664i87E2BFEDC8C75DCF/image-size/large?v=v2&px=999 "image (2).png")

BTW, does this API \<**[Archive issue(s) by issue ID/key](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-archive-put)**\> has the same limitation either?


author: Nick H
body: Hi [@Leo LI](/t5/user/viewprofilepage/user-id/5308835) ,

I too had trouble finding the bulk-archive option too. I assumed it would be under a Transition Issues option, but it's actually found under the Edit issues option:

![archive4.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/295777i32F24C2D1CB6FD21/image-size/large?v=v2&px=999 "archive4.jpg")

There's also the option to archive multiple ideas within the project by selecting multiple ideas at a time, and clicking the Archive button:

![archive5.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/295778i260FE3B6F076312C/image-size/large?v=v2&px=999 "archive5.jpg")

comments: author: Leo LI
body: Thank you [@Nick H](/t5/user/viewprofilepage/user-id/2540930) , this is so helpful!