Forums

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

Creating ScriptRunner for Confluence scripts that a Space Admin can run

Stephen Gilson
January 30, 2019

Can I create ScriptRunner scripts that can be added to the Advanced Space Functionality section of Space Tools so that a Space Admin could run them?

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Sarika Dalal
Community Champion
December 6, 2021

Hi @Soumya Rajeshkumar ,

 

To see the logs for the behavior script please import logger package like 

import org.apache.log4j.Level
import org.apache.log4j.Logger

def myLog = Logger.getLogger("com.jira.groovy.behaviour")

myLog.setLevel(Level.DEBUG)
myLog.debug(" Custom message write here")

Soumya Rajeshkumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2021

Thanks a lot, but the script is not working . Need a solution for that also

TAGS
AUG Leaders

Atlassian Community Events