My automation should remove a value from fix versions when a label is changed. The trigger works fine but I can't get the correct syntax to remove a value from the fixVersions field using the Edit Issue action.
I'm getting the error: "Error while parsing additional fields. Not valid JSON."
In the "Additional Fields" box I've tried a few variations of json:
{
"update": {
"fixVersions": [
{
"remove": [{version.asJsonObjectArray("check")}]
}
]
}
}
and
{
"update": {
"fixVersions": [
{
"remove": [{"name":"check"}]
}
]
}
}
Hello @Ryan Schamp
If you are removing only 1 version, you can directly use below JSON... remove name with any smart value if you have..
{
"update": {
"fixVersions" : [
{
"remove": {
"name":"check"
}
}
]
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.