You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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:
Sorted out after trying below code.
{
"fields": {
"customfield_10163" : { "value": "Car", "child": { "value" : "Diesel"} }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.