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!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

unable to create task's subtasks using additional fields option (JSON)

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Mar 30, 2023


i'm trying to create a task and its subtasks using jira automation additional fields options

here is the JSON i used: 

     "fields": {
           "summary": "{{issue.summary}}",

                        "transition": {
                                      "id": "221"
                         "fields": {
                                    "summary": "{{issue.summary}} runset",
                                    "issuetype": {"name": "Sub-task"},
                                    "parent": {"key": "{{issue.key}}"}
                         "transition": {
                                 "id": "221"
                           "fields": {
                                   "summary": "{{issue.summary}} test case",
                                    "issuetype": {"name": "Sub-task"},
                                    "parent": {"key": "{{issue.key}}"}

i'm getting 

Unknown fields set during create, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored - Sub-tasks (subtasks) for some reason.

1 answer

1 accepted

0 votes
Answer accepted
Hala ElRoumy
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 08, 2023

Hello Yohai,

Allow me to answer your question here to help others as well. :)

The Additional Fields section is used to edit fields using JSON and not to create new issues. Usually, you can add a Branch immediately following the Create Task action. This branch can operate on the most recently created issue, and you can create sub-tasks there.

If you are already creating the tasks/subtasks inside a branch, you can't create a sub-branch. As a suggestion to create subtasks without changing the rule flow. You can save the parent task issue key in a variable and use this variable to update the parent field in the subtask. This way, the subtask will be created under the newly created task.

Here's a screenshot to illustrate this suggestion:

Thanks & Regards,
Hala ElRoumy
Atlassian Cloud Support 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events