Setting the category to "archived/deleted" using api

Zhinoo Zobairy October 19, 2023

Hello dear community,

I need help with this. We have deleted/archived some projects on Jira and want to change the category here as well. How should I do that?

"key": "xxx",

        "name": "xxx",
        "projectCategory": {
            "description": null,
            "id": "xxx",
            "name": "xxx",
            "self": "https://xxx.atlassian.net/rest/api/2/projectCategory/xxx"
        },
        "self": "https://xxx.atlassian.net/rest/api/2/project/xxx"

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2023

Hi @Zhinoo Zobairy 

Are you trying to change the project category, or actually archive or delete a project?

If you want to change the project category, please see the update project function:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-put

Kind regards,
Bill

Zhinoo Zobairy November 8, 2023

I actually only wanted to delete or archive projects.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 8, 2023

If you follow the link I sent, you will see the other functions for delete and archive on the left side of the page.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events