How to solve "not defined" error in addJSDComment function (SIL Script)

Dario Diez Tobia November 13, 2020

Good morning everyone,

I am trying to add a comment in a ticket using a generic user instead of the current user.

I typed the following code:

string my_user = "generic_user";

string my_jql = "project = PROJECT and key = '" + key + "'";

if(isNotNull(selectIssues(my_jql))){
addJSDComment(key, my_user, getLastComment(key));
}

 Checking the code, I get this message:

Error1: [SIL Error on line: 6, column 5] Routine >> addJSDComment << is not defined!

I would appreciate some help in order to fix it. I am unable to find out any clue about it.

Thank you in advance.

Dario

1 answer

0 votes
Marcin Gerek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 19, 2024

Is this is solved? If yes please tell me how :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events