Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can not update project type via rest call

Jackie Chen December 9, 2018

Hi all,

I tried to update the description and project type of a existing project via Rest API.  According to the documentation, this is the method and endpoint.

PUT /rest/api/2/project/{projectIdOrKey}

{"projectTypeKey": "business", "description": "Example Project description"}

 I was able to update description, but not projectTypeKey.  Anyone has any ideas?

 

Thanks,

Jackie

1 answer

1 vote
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2018

Hi Jackie,

To update Project type, you will need to use Update Project Type REST API.

Best Regards,
Mogavenasan

Jackie Chen December 10, 2018

Thanks Mogavenasan. Yeah, I just found it as well. The document is a bit misleading, as it includes the  "projectTypeKey" in the example request of update project. 

Suggest an answer

Log in or Sign up to answer