Forums

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

SIL with automation with JIRA

Sushma Nagaraj August 21, 2018

I have used Automation in JIRA and created a rule which runs a SIL script.

the main script is:

lfWatch("assignee",{"assignee"}, "Update1.sil");
lfWatch("customfield_16004", {"customfield_16004"}, "Update2.sil");

 

This one monitors if either the assignee field or another custom field changes and update1.sil and update2.sil has the following code.

 

customfield_16004=argv["assignee"];

AND 

assignee=argv["customfield_16004"];

 

But this does not work. I do not get any syntax error. Need help.

 

1 answer

2 votes
Alexey Matveev
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.
August 21, 2018

Hello,

You wrote a Live Fields script, which should work in screens , before a transition was executed. Automation for Jira is executed after a transition was executed, that is why your script does not work

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events