How to determine which checkbox option was unchecked.

Hi There

I need to determine which checkbox "customfield_11695" option was unchecked.


Trigger: Field value changed

Fields to monitor for changes: “Test Checkbox” ("customfield_11695")

Change type: Value deleted

For: Edit issue


Log Action: {{#changelog.customfield_11695.value.from}}{{/}}


Problem: {{#changelog.customfield_11695.value.from}}{{/}} return empty


I am sure I am messing up the syntax somehow, but I have tried many variations without success and cannot seem to find any relevant online examples.

Any suggestions?

 

Issue Before Trigger

Issue before trigger.png

Automation

Automation.png

Issue After Trigger

Issue after Trigger.png

Audit Log After Trigger

audit log after trigger.png

2 answers

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2024

Hi @van den Bergh, Marius, Vodacom (External) 

There are field change, smart values for the additions and removals: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--

Please try this, based on the trigger you show in the rule:

{{deletedFieldChange.values}}

 

Kind regards,
Bill

Work perfectly!! Thank you so much. I should have asked sooner, wasted allot of time on this.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 2, 2024

Awesome; I am glad to learn that helped!

0 votes
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 1, 2024

Please try:   {{#changelog.customfield_11695}}{{from}}{{/}} 

 

 

 

 

Thanks Kalyan, tried it, outcome is the same - "Blank".

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events