Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I added a post-function script to a transition that doesn't seem to be firing. I tried very simple fields to make sure the coding wasn't the problem (of course, it might still be the coding). Here are the fields:
Condition: return true
Email template: Postfunction body
Subject template: Postfunction subject
To addresses: my email address
All other fields are either blank of have the default values.
This function is #1 in the function list (should it be in a different position?)
The result: When I select the workflow action that executes the transition, no email is sent. I check the email queue and nothing has been entered there.
System Info:
Jira version: 6.3.15
ScriptRunner version: 3.1.3
Thanks in advance for any help.
As Jozef said. You can change the condition code to:
log.warn ("I'm firing!") return true
and look for that message in the logs. Maybe you haven't published your draft workflow or something.
Go to administration section Logging & Profiling and add DEBUG level for package com.onresolve. You will see in atlassian-jira.log what's going on.
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.