Script runner to auto transition issue if the Due date date is past current date

Priyanka June 28, 2022

Auto transition issue if the Due date date is past current date in JIRA Data center

1 answer

1 accepted

0 votes
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2022

Hi @Priyanka Welcome to the community.
There is a post function from Scriptrunner that allows you to fast track transition an issue based on a condition.  This will provide you with the solution you are looking for.

Priyanka June 28, 2022

Hello @Craig Nodwell 

Thanks for getting back. can you maybe provide a screenshot to support this.

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2022

I'm heading to the office now.
In the editor for your workflow, find the transition you wish to transition.
Click on the Post Function Tab
Scroll down the list and locate the Fast Track Transition option, select that hit next fill out the details... it's not difficult trust in yourself.  I'll check back in here later to see if you've managed, let me know.

Priyanka June 28, 2022

Hello @Craig Nodwell ,

@Craig Nodwell 

I was able to find the post function but it gives a strange error- error.PNG

My intention is to compare due date with Current date and transition the issue automatically if due date> Current date

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 29, 2022

you need to move the step down in the workflow post functions list, in the post functions on the transition you can move things down in order of operations just use the down arrow.  this post function needs to go last in the list.  Also make sure you are calling the right transition

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events