I have an automation rule that when trigged, I want to set a custom checkbox field. I'm not having success getting this field to update. In chatting with Jira Support, they say a JPD checkbox field is handled differently than a checkbox field in other Jira projects.
Does anyone know how this might be done. I'll include a screenshot of this part of the rule
Hey David, if I understand... it's here:
to mark the checkbox:
{
"fields": {
"customfield_10159": 1
}
}
to unmark the checkbox:
{
"fields": {
"customfield_10159": null
}
}
@Ka Silveira - Perfect. That did exactly what I needed it to do. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was told by jira support that a value of 1 is checked and 0 is unchecked, but I still get the error below.
ID-12 (Specify a number for the custom field (below 100,000,000,000,000) (customfield_10159))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try the block that I have sent, it's work to me and my checkbox custom field. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Ka Silveira it doesnt work for me. Do you have conditional before each block?
ie if a field is empty> edit issue field with block
{
"fields": {
"customfield_10159": null
}
}
if a field is not empty> edit issue field with
{
"fields": {
"customfield_10159": 1
}
}
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.