Hello,
We are managing a large Service Desk project where issues are transitioned automatically upon creation to escalate them to the correct department.
Currently, we achieve this using Jira Automation, but due to the high volume of issues, this approach is impacting performance. To optimize this, we want to move this logic into the Create Transition in the Workflow by using ScriptRunner's Fast Track Transition Issue or other post functions.
However, when we try to use Fast Track Transition Issue or any other transition issue post function on the Create transition, it does not work. The issue remains in the initial status instead of transitioning as expected.
Hi @Büşra Saltık Can you check the order of the post-functions? This post-function should come after the issue is created and not before that in the order of the post-function execution.
Hope this is helpful!
Hello @Anandhi Arumugam _Cprime_ ,
Thank you for your reply. Yes i placed the post function last. I used the same method on other statuses but it doesn't work only on create transition.
We also tried the transition issue post function of other plug-ins like JWT and JMWE. Still doesn't work.
We also checked the conditions etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Büşra Saltık May be worth checking another point. Which status are you transitioning to? Please check the transition ID on the post-function if the transition is correct.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
my workflow is basically "to do - in progress - done"
There is a transition from 'To Do' to 'Done'. I want the issue to transition to 'Done' immediately upon creation.
I am 100% sure that ID is correct.
I also tried to transition issue with Scriptrunner Listener but got the following error;
LOG
WARN [scriptrunner.listeners]: Transition validation failed for issue: SR-397717, Errors: Errors: {}
Error Messages: [It seems that you have tried to perform a workflow operation (Escalation) that is not valid for the current state of this issue (SR-397717). The likely cause is that somebody has changed the issue recently, please look at the issue history for details.]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there a transition from ToDo to Done on your workflow? On SR-397717 , assuming it is in status "To Do", can you check if it shows Done? Can you show the post-function screenshot here? Looks like there is no transition or a wrong transition is applied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.