Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,144
Community Members
 
Community Events
176
Community Groups

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

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

1 answer

1 accepted

0 votes
Answer accepted

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.

Hello @Craig Nodwell 

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

Craig Nodwell Community Leader Jun 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.

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 Jun 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

Atlassian Community Events