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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Creating subtask in a company managed project via REST fails, works with Team-Managed


I try to create a subtask via REST API 2 on my cloud projects.

While it works well for my Team-Managed projects, I cannot create subtasks for company-managed projects.

Are there any limitations or differences between those two project types?
My payload looks as follows:
{'id': '', 'fields': {'project': {'key': 'CMTP'}, 'summary': 'Test Misc Issue - not to be seen after test', 'description': "if you see this the test didn't clean up properly", 'issuetype': {'name': 'Subtask'}, 'priority': {'id': '3'}, 'parent': {'id': '13191'}}}

Thanks a lot for your help.

1 answer

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 10, 2023

Hello @Martin Kropp 

Are you getting any sort of error message in response?

My first thought is that the name of the subtask issue type is different in your Company Managed project versus your Team Managed project.

In my Jira Cloud instance the default subtask issue type created in a Team Managed project is named "Subtask". But the default subtask issue type created for use in Company Managed projects is named "Sub-task" (with a hyphen).

Many thanks for the quick response.
OK. I understand the subtaks names differ for server projects (we still have some), and different cloud project types:
server projects: Sub-task
team managed projects: Subtask
company managed projects: Sub-task

What's the best way handle this?

Do I need the retrieve the names of the issue type by their id (which seems to be 10316) for cloud projects, independent of the project type?

I see the url = "{id}" is per domain, not per project.
How can I get an issuetype of a project, since subtask names differ per project type?
many thanks!

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.
Oct 10, 2023

Hi @Martin Kropp 

Adding to Trudy's answer...

One way to do that is to get the metadata for the issue types in the specific project, confirming you have the correct id for the subtask type.  That is described here for the v3 of Create Issue:

Kind regards,

Like Martin Kropp likes this

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events