Comment issue post function doesn't show INFO log events

When I use Comment issue post function, I add log events for debugging. However, I've noticed INFO events don't work for me. Only when I use log.warn(...) events, they show up in atlassian-jira.log

Even when I've added jmwe.plugins.functions.CommentIssueFunction package to, it's still a no-show. 

When should I do to add there INFO events to my log? 

Could something like this work (as it does in Script Runner):

import org.apache.log4j.Category
def Category log = Category.getInstance("jmwe.plugins.functions.CommentIssueFunction");

1 answer

1 accepted

The right package to add to (or in the Logging settings of JIRA admin) is "com.innovalog.groovy" if you want to get the results of calls in your Groovy script.

Hi David,

Thanks for your response. I've tried both adding = INFO, console, filelog = false

To as well as adding this package to the Logging settings in JIRA's UI. None showed any log event. 

Is there something else that could be done? 

My bad. The correct package (class, really) is: com.innovalog.jmwe.plugins.functions.CommentIssueFunction

Thanks David. com.innovalog.jmwe.plugins.functions.CommentIssueFunction worked

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Posted 13 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

36 views 0 5
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