Forums

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

How to get values from the parent form

Daniel Javorsky
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!
July 22, 2025

I have made an automation where i generate 2 tasks while creating a change request. I wan't that the assignee's are automatically assigned with values from the parent form. I found the custom fields and wrote a statement in the rule:

{

    "fields": {

        "assignee": {{issue.parent.customfield_11123.accountId.asJsonObject("id")}}

    }

this doesn't work. Any suggestions?

Tnx

Daniel

2 answers

2 accepted

3 votes
Answer accepted
Marc - Devoteam
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.
July 22, 2025

Hi @Daniel Javorsky 

Welcome to the community.

Whenever you ask for help with an Automation Rule it will help us to help you if you provide:

1. what type of project is this (e.g., company-managed, team-managed, etc.), 

2. images that show your complete rule.

3. images showing the details of any relevant actions/conditions/branches.

4. images showing the Audit Log details for the rule execution.

5. Explain where the issue is.

These questions are not for not willing to help, but to have community members understand on how automation works.

Daniel Javorsky
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!
July 23, 2025

Hi Marc, 

I must apologize, since It is the first time I am  posting on this forum, I didn't know the rules. 

Thank you for welcoming me into the community. 

So:

  1. I am designing a demand management process for the company Studenac (Croatia)
  2. I would like to create 2 tasks when the change request item is created. These 2 tasks should be assigned to persons from the parent change request.

The issue is that there is some error in the and it doesn't create the tasks. 

  1. The audit log is:

 

07/23/2025, 08:15:35

57248374201

DemandManagement_CreateTask

SOME ERRORS

33.08s

Show less

Work item created07/23/2025, 08:15:35

Create work item07/23/2025, 08:15:36

Error while parsing additional fields. Not valid JSON.

Create work item07/23/2025, 08:15:40

 

Daniel Javorsky
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!
July 23, 2025

demandManagementRule.png

Marc - Devoteam
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.
July 23, 2025

Hi @Daniel Javorsky 

To address the parent or trigger issue from the rule.

The JSON should be

{{triggerIssue.customfield_11122}}

triggerIssue is the part of the smart value that addresses the issue that triggered the automation rule.

Parent field is a field set on like a Story to link this to the Epic.

Then you can use {{issue.parent}} smartvalue 

Daniel Javorsky
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!
July 23, 2025

I found the right syntax:

{

    "fields": {

        "assignee": {{issue.customfield_11122.accountId.asJsonObject("id")}}

    }

}

 

Like # people like this
1 vote
Answer accepted
Daniel Javorsky
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!
July 23, 2025

{

    "fields": {

        "assignee": {{issue.customfield_11122.accountId.asJsonObject("id")}}

    }

}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events