SIL: How can I set to null a customfield using SIL Language?

I'm using SIL and I have to clear the field A (customfield_20901) when the customfield B (customfielc_20900) is changed. Thus, I've an script with:

#{Técnico Asignado Servicio}="";                 // A Single Text customfield (customfield_20901)

This script is launched by:

lfWatch("customfield_20900", {"customfield_20900"}, "/datos_apl/jira/silprograms/proyectos_soporte/busqueda_tecnicosoporte/limpia_tecnicosoporte.sil");

After that, I can see the field in the view screen (it means that the customfield has value, perhaps a blank). How can I become null this field? I've tried with:

#{Técnico Asignado Servicio}=null;

But an error appears when I check the sintax, 


1 answer

1 accepted

This should work:

lfSet("customfield_20901", "");

Yes, it works. Thanks

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot