Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 edited

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
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events