IssuesIssue schemas
Create an issue category
POST
Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
projectId*stringThe project's id.
schemaId*stringapplication/json- body
name*stringLength
1 <= length <= 200parentId?|A category of the same schema; null or absent for the top.
requiredFieldIds?array<>Fields of the schema an issue in it, or under it, must fill in.
Items
items <= 200Created.
application/json- response
category*A node of an issue schema's category tree.
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/issue-schemas/string/categories' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response
{ "category": { "id": "string", "schemaId": "string", "parentId": "string", "name": "string", "requiredFieldIds": [ "string" ] }}