Forums

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

Need automation script for whenever task is created, populate the team name same as epic

Ramesh Krishnan
Contributor
August 27, 2025

i would like to populate team name in Task , whatever in epic, i tried with below smart value, but it didnt work.

Below script i used it in advanced section
{
"fields": {
"Team": "{{issue.parent.Team.id}}"
}
}

another one is 

{
"fields": {
"customfield_10001": "{{issue.customfield_10001}}"
}
}

after executing, its says customfield_10001 doesn't support

 

1 answer

0 votes
Trudy Claspill
Community Champion
August 27, 2025

Hello @Ramesh Krishnan 

Have you tried to construct this rule? Is there a portion that you are having trouble figuring out?

I encourage you to build as much of the rule as you can, share screen images of it with us, and tell us about the portion with which you are struggling.

Ramesh Krishnan
Contributor
August 27, 2025

Below script i used it
{
"fields": {
"Team": "{{issue.parent.Team.id}}"
}
}

another one is 

{
"fields": {
"customfield_10001": "{{issue.customfield_10001}}"
}
}

after executing, its says customfield_10001 doesn't support

Trudy Claspill
Community Champion
August 27, 2025

Thank you for that additional information.

One debugging feature available to you is the Log action. Put one of those directly before the action where you are using THE SON code and use it to print into the rule log the smart values you have tried to use in the JSON code.

To enable us to help you debug your rule please provide screen images showing your entire rule.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events