/
Hello World Script
Hello World Script
This script is applicable to any ComponentEvent. It just logs associated component to atlassian-jira.log file if logging is enabled for “com.deniz.jira.versioning.scripting”. To enable logging for the package you can navigate to http://JIRA_BASE_URL/secure/admin/ViewLogging.jspa and click on “Configure logging level for another package” link.
import com.atlassian.jira.event.bc.project.component.*;
def AbstractProjectComponentEvent event = (AbstractProjectComponentEvent) parameters.event;
//Enable logging for package com.deniz.jira.versioning.scripting
log.debug("==>" + event.projectComponent.toString());
, multiple selections available,
Related content
Scripting
Scripting
Read with this
User Manual
User Manual
Read with this
Invoking a Web Service
Invoking a Web Service
Read with this
Data enter Readiness Checklist
Data enter Readiness Checklist
Read with this
Component Attributes
Component Attributes
Read with this
Bundle Table Dashboard Item
Bundle Table Dashboard Item
Read with this