JJupin print function not working in v3.0.7

JJupin v3.0.7

While developing another script I tried to print to the log using a simple print command.

string[] complist;
number i;
number marraySize;
marraySize = arraySize(components);
for(i=0; i < marraySize; i = i + 1)
    if(components[i] == "Tempo")
     watchers = addElementIfNotExist(watchers, "dt02765");
     watchers = addElementIfNotExist(watchers, "dt202280");

What I get in the log is this over and over:

2016-04-14 11:17:08,034 http-bio-8080-exec-22 ERROR dt84658 677x589x1 x5a9l3 /secure/WorkflowUIDispatcher.jspa [commons.ivm.routines.UserFullNameRoutine] Empty username provided.
2016-04-14 11:17:08,136 http-bio-8080-exec-22 ERROR dt84658 677x589x1 x5a9l3 /secure/WorkflowUIDispatcher.jspa [commons.ivm.routines.UserFullNameRoutine] Empty username provided.

The script works, but the print("name");   function does not. 

I have already added under Logging and Profiling:


Any Ideas?  

3 answers

1 accepted

HI Craig,


Depending on what kind of print you need, you can use printlogPrint or runnerLog routines.

print routine puts the output in the  /catalina.out 

logPrint puts the output in jira_home/atlassian-jira.log

runnerLog puts the output in the gadget's console (from JJUPIN/SER)


Hope this helps,

You are looking for logPrint routine wink

Thank you for your response, but your docuementation says different.  Besides I have used the print() function in the past and it worked.  Just let me know if it is broken or not so I do not waste time.

From your documentation:


Configure JIRA Logging

JIRA uses Log4J as a logging system. We're interested in output messages produced by our plugins so you will need to configure logging.

  1. Open JIRA_HOME/atlassian-jira/WEB-INF/classes/log4j.properties with your favorite text editor.
  2. Append the following lines (add them at the end):


log4j.category.com.keplerrominfo = INFO, console, filelog
log4j.additivity.com.keplerrominfo = false




If you do not perform this configuration step, some routines such as print() will not output messages.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

928 views 5 18
Read article

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot