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

3 votes
Accepted answer

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 Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

216 views 6 0
Join discussion

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