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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am setting up automation to create subtasks on tickets created from our service desk. I have to set a required cascading list field. All of my JSON is working except for the following:
{
"fields": {
"access_type": { "value": "Google Workspace / GSuite (manual approval rqd)" }
}
}
{
"fields": {
"access_type": { "value": "iLMS - Inspired eLearning (manager approval)" }
}
}
For comparison this one does work:
{
"fields": {
"access_type": { "value": "Active Directory (manual approval rqd)" }
}
}
I suspect it's related to the "-" and "/" in the ones that aren't working. I am new to JSON and I couldn't find anything to indicate I needed to escape out of those characters but maybe I'm wrong. I'm not sure where else to look. any help is appreciated!
Have you tried using the parent and child syntax for the cascading field, as described here:
Kind regards,
Bill
I did not try using "id" but I have used "value". That's what you see above. Do I need to include child? There is no child necessary for the parent field so I excluded that part. It worked on all of the other ones I created. Only these 2 aren't working.
I'll try id and let you know. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you know how I find the id for the option I need? I can only find articles on how to find the custom field id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recall seeing an experimental REST API to get the options, but I cannot find it.
One way I know works is to set the option you want in an issue, and then call the REST API to get the possible smart values, search for your field, and you will find the option id, as described in this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/
Basically you call the function with a browser for your issue like this, and then find the option id:
yourJiraUrl/rest/api/2/issue/yourIssueKey?expand=names
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.