Forums

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

ScriptRunner script plugin not fully working

Soporte Xeridia
April 5, 2023

I would like to make a ScriptRunner script plugin for Jira, that is, a plugin that includes some scripts that I can run from ScriptRunner. I am building on the sample plugin talked about here: https://docs.adaptavist.com/sr4js/latest/best-practices/write-code/set-up-a-dev-environment

The thing is it doesn't fully work, as you can see in the following screenshot. I created a class called com.xeridia.Example that takes an org.apache.log4j.Logger and prints the current date. Technically it works, seeing as you can see the date printed on the log below, the problem is whenever I import the class or reference the file of that class, an error always shows up that the file, the package or the class doesn't exist.

Although the code is working, I need to get rid of these errors, as they more than often confuse my developers and they thing they're doing something wrong.

Is it possible?

Thanks.

scriptrunner.PNG

2 answers

1 accepted

0 votes
Answer accepted
John Szarek
March 18, 2012

http://confluence.atlassian.com/display/JIRASTUDIO/Managing+Users+and+Groups

Thanks Jobin, that got me to finding this page. Trying it now.

0 votes
Jobin Kuruvilla [Adaptavist]
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 Champions.
March 18, 2012

Give just the 'Browse Project' permission on JIRA.

http://confluence.atlassian.com/display/JIRA/Managing+Project+Permissions

As long as a user can login, it is counted against license. You may have a single read only user or provide Anonymous read access if it is just for read only purposes!

John Szarek
March 18, 2012

Anonymous read access is exactly what I am looking for. I have just started looking at Jira so any guidance would be great.

Jobin Kuruvilla [Adaptavist]
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 Champions.
March 18, 2012

It is the same permissions. Use 'Anyone' group for 'Browse Project' permission. Checkout the above link for more on permissions.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events