Greetings all,
I am frustrated with the JSON in this thing. I validate it before using it, and only "sometimes" does it work, while others throws invalid JSON errors. In this post I am only really looking at removing labels, but there have been others. Yes, I know you can do it with the edit issue field list, but you shouldn't have to if you are just bundling it together with other things you are doing. Let's talk about ways to work out these issues.
Eg. 1 (valid, but not to Automate)
{
"update":[{
"labels": {
"remove": "add_team"
}
}],
"fields": {
"customfield_14651": "{{issue.parent.customfield_14651}}"
}
}
Eg. 2 (valid, but not to Automate)
{
"update":[{
"labels": {
"remove": ["add_team","add_teams"]
}
}],
"fields": {
"customfield_14651": "{{issue.parent.customfield_14651}}"
}
}
And this one really gets me...
so (because of the message) I change it to (finally valid, but doesn'tremove labels)...:
{
"remove": {
"labels": ["add_team","add_teams"]
},
"fields": {
"customfield_14651": "{{issue.parent.customfield_14651}}"
}
}
and no errors, but it doesn't do anything.
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.