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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

How can i set value for cascading field during creation of ticket using jira automation?

Hi All,

I have a requirement to create ticket based on scheduled hours for one project, for that project there is a field (Cascading) set as mandatory. using Jira automation i was trying to update cascading field value but the cascading field was not visible under Choose field set. So I set the value under field more option using small code. But when i try to run the code an error is showing as cascading field is required. Below is the code i have set for the cascading field. Can any one guide me below is correct or I'm doing any wrong. 

thanks in advance 

{
"update": {
"customfield_10163": [
{
"set": {
"value": "{{Issue.fields.customfield_10163.Car}}",
"child": {
"value": "{{Issue.fields.customfield_10163.child.Gas}}"
}
}
}
]
}
}

 

Error:

 

ction details:
Create issue
Error creating issue
Cascading is required. (customfield_10163)

1 answer

1 accepted

0 votes
Answer accepted

Sorted out after trying below code. 

 

 

{
"fields": {
"customfield_10163" : { "value": "Car", "child": { "value" : "Diesel"} }
}
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events