I want to conditionally modify a custom field in Jira. This modification should be triggered by a specific condition related to the 'Cause Field'. For example, when the 'Cause field' is set to "1", I want the ' Category field' to display only the options '1.1','1.2','1.3'.
I have attempted ussing this JSON script:
{
"update": {
"customfield_11319" : [
{
"set": "1.1,1.2,1.3"
}
]
}
}
But I´m encountering the errpr 'specify a valid 'id' or 'name'. And I´m sure the 'id' of the customfield is correct. Could anyone provide guidance on the correct approach to achieve this? Any help would be greatly appreciated.
Thank you!