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

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,008 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot