Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

379 views 0 7
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