Transition Issue on Post function Call

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?

2 answers

This widget could not be displayed.

I am not sure if there is any limitation on Issue Created event..

This widget could not be displayed.

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?

Could you please suggest if there is any workaround to achieve this?

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).

log.info("subtask objects size : "+issueObject.getSubTaskObjects().size()); issueObject.getSubTaskObjects().size() > 0

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.

Thanks David. I am able to see the logs after the setting of log level.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

28 views 0 1
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