I am trying to transition an issue based on some conditions. On Issue Create event, after the "Fire a Issue Created event that can be processed by the listeners" step, I am trying to fire a transition based on a condition. Though I have added log statement, I am not able to get the message on atlassian-jira.log file. What is missing here?
Unfortunately, you cannot at this time trigger a transition on an issue using the Transition Issue post-function from within the Create transition. See https://innovalog.atlassian.net/browse/JMWE-271
Hi David, Why are the log statements which are in the condition text of Transition Issue post function not getting called?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please suggest if there is any workaround to achieve this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have no idea why the log traces don't appear. They clearly should, since the Groovy condition is the first thing that gets run by the post-function. Can you post your Groovy code here? As for workarounds, I'm not aware of any but we intend to try and provide a solution ASAP (although I cannot commit on a specific date right now).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
log.info("subtask objects size : "+issueObject.getSubTaskObjects().size()); issueObject.getSubTaskObjects().size() > 0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you adjust the log level for the com.innovalog.jmwe package (in Admin)? Because by default INFO level logging is disabled. Otherwise, replace log.info() with log.error() to make sure the log is written.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks David. I am able to see the logs after the setting of log level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not sure if there is any limitation on Issue Created event..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.