Every time a transition tried to call a sil program, even if the content of the sil is sumary = "test summary" an error is log in history, upon further checking the system tries to set time spent = null, we dont have this script in SIL. where could this action come from?
This only happen when a transition calls a sil, if we comment out all content of SIL, no errors would occur.
I was able to isolate the cause of the issue, error start when Database custom field was installed.
Our Jjupin is 2.6.8 and i installed DBCF 2.6.11, and we cant update jjupin this time.
thanks in advance...
The current issue(available in SIL condition/validator/post function) is not available inside a SIL script called by call routine. This is why you're getting the error, because summary is not defined in the called script.
I'd wrap that and create an user defined routine like setSummary() inside that script and instead of calling it, include it. In your code from main script, if you have to set the summary, call the user defined routine.
Hope this helps,
Hi Silviu, Sorry if my question was confusing, I did not use a CALL routine for this, the SIL is executed as post function from a workflow. The content of the SIL is executed just fine the customfield are updated correctly, but somehow the timespent field is also updated with null value which cause the error. If I comment-out the SIL or remove it from the post-function th error "timespent = null" would never occur. It seems that everytime a SIL is executed by a workflow post-function a command "timespent = null" is also executed. I was able to confirm this in CHANGEITEM table null was set as new value of timespent. Regards,
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG