Hi,
I am hoping someone can help. We receive a number of automated alerts through Jira and I am trying to set up an automation to fill certain fields however it will not pick up 2 of them so I am having to use JSON. I am using the below but the automation keeps failing. Can you please help?
{
"set":{
"customfield_11540":[
{
"value":"Support_Centre",
"child":{
"value":"IT"
}
}
]
}
}
Looking at what you are aiming to do, I suspect you are trying to set the value of a cascading select field.
I will suggest looking at the following : https://community.atlassian.com/t5/Jira-Service-Management/How-do-I-set-a-Cascading-Field-using-Automation-in-Jira-Service/qaq-p/903653 though from just an initial look you seem almost there minus the square brackets.
I t will also be Great to see the exact error you are getting from the automation log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Melissa:
Two things that you may also want to check (in addition to what @Ismael Jimoh suggested) -
1) For the custom field (cascade select data type) - Are the values that you try to populate the issue are defined already (exact spelling) in the field configuration dropdown?
2) Is the custom field (in question) exposed to your JSM project in question? Example - Field itself is setup with proper context configuration against your JSM project and issue types? Field has been added to the JSM project's issue screens to the appropriate issue types?
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Infrastructure Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response, I will take a look at that. Yeah, I feel like I am so close.
This is the error:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looking at the error you shared, I will also verify that for this field, in the field mappings for the project the automation is running in, the value is available.
I will first of all try what was suggested in the linked ticket (it contains a link to Advanced automation configurations and from here, you can see how to set the value for a cascading select list).
Let me know if this solves the issue for you.
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.