Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Single user field setting to empty, automation

Arturs Kalnins
Contributor
January 30, 2024

I have a checkbox called "approved"  and a single user field called "approved by" 

I am amble to write an automation that If a user clicks Approved, the triggeruser ({{initiator}}) is set to approved by field. 

However I cannot find a way, once "approved" has been unchecked, the field "approved by" to be cleared out. I've tried {{clear}}, {{remove}}, {{none}} but nothing seems to work. 

Thank you in advance. 

1 answer

1 accepted

0 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.
January 30, 2024

Hi @Arturs Kalnins 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

In the rule's edit issue action, have you tried selecting the custom field from the dropdown list and just leaving it empty?  That normally works to clear a field.

Kind regards,
Bill

Arturs Kalnins
Contributor
January 30, 2024

The "{{None}}" does not work, I need it to empty Single pick user field in this place 

 

Screenshot 2024-01-30 220645.png

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.
January 30, 2024

Please try just leaving the field empty, with no selections or smart values.

Arturs Kalnins
Contributor
January 31, 2024

that does not work, i've already tried.  I believe this works on Assignee field but not with a single pick user field 

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.
January 31, 2024

I just tried that with a company-managed project, using a single user-picker custom field and it worked.

What type of project are you using: company-managed or team-managed?

Arturs Kalnins
Contributor
January 31, 2024

company managed project. 

I'll check again. Ill look into audit log, perhaps i'm missing something. 

Suggest an answer

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

Atlassian Community Events