Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 + "'";

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.


0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

145 views 3 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you