Hello,
I have a transition called Complete. For each sub task it also transitions them to Complete.
However, I've noticed that my logger stops working when I execute transitions.
My log setup is
import org.apache.log4j.Logger
import org.apache.log4j.Level
def log = Logger.getLogger("")
log.setLevel(Level.DEBUG)
//Parent Task running and for each subtask it would call for each subtask....
workflowTransitionUtil.setIssue(subtask)
workflowTransitionUtil.setAction(41) // 41 is "Complete" transition
log.info("TEST")
workflowTransitionUtil.progress()
log.info("TEST2")
I would see TEST and then not see TEST2 in the logs even though all further logic works, it's just that the logging stops. There are no errors. I am assuming the subtask transitions somehow override the logger? Is there anyway to undo this behaviour in Script Runner?
Our jira is 7.6.0 and Script Runner is 5.4.12
Thanks,
Ilya
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.