For ex.
If I choose "Work Type Category" = Development or = Testing, then I will let everyone set values in "Planned Review Time". Else if I choose other values then disable the "Planned Review Time".
I want to use sil script to implement this.
Could you please help me to let me know how to write the sil code?
Thanks,
Mandia
Hello,
You can do it with Sil Live fields. First you need to connect a sil script to the Work Type Category custom field:
lfWatch(
"customfield_11100"
, {
"customfield_10100"
},
"hook.sil"
);
Suppose the id for Planned Review Time is 10100 and for Work Type Category 11100
Then you write the hook.sil:
if(argv["customfield_11100"] == "Development" || argv["customfield_11100"] == "Testing" ) {
lfEnable("customfield_10100");
} else {
lfDisable("customfield_10100");
}
Thank you very much!! It works on me!
Well, I have another question,
for ex
When I create a subtask
If first time I set work type category = "Development" then I set Planned Review Time ="10"
But next time I set another value to work type category , then I want to clear the Planned Review time.(Since if I set work type category ="Development" then the "Planned review time" disabled)
I also want to use sil script to implement this.
Could you please help me to let me know how to write the sil code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can clear the Planned Review TIme like this:
lfSet(
"customfield_10000"
,
""
)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@MandiaYou are welcome. If my answer helped you, kindly mark my answer as accepted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.