POST/projects.json
Create Project - V1
To create a project, use this endpoint.
To add a custom field to a project, you pass in the custom field object to this endpoint. The custom field must already be created, you can do that by using V3 Custom Fields. Once the custom field is created, it’s available to attach a project. See sample payload below.
- Add custom fields on a project: To add the custom fields, pass in the values of the custom fields with this endpoint. Eg:
{
"project": {
"customFields": [
{
"customFieldId": 68,
"value": "Jane Doe"
},
{
"customFieldId": 75,
"value": "Finance"
}
]
}
}
To update or delete custom fields from a project pass an empty array for the customFields param. Example on Updating a project.
- To delete custom fields from a project: Pass an empty array for the customFields param. Eg:
{
"project": {
"customFields": []
}
}
To test that the custom field was added, you need to use the V2 projects endpoint with "includeCustomFields=true" to return the custom fields and their values.
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Response
201 Response
application/json
{
"id": "323605",
"STATUS": "Created"
}