Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make an issue transition from one status to another automatically based on a condition?

Shahriar Kabir August 23, 2019

Hi, 

I am trying to make an issue "story" move from one status to another automatically based on a date condition or criteria.

For e.g. let's say a story is sitting in "To Do" status and there is a custom date field which is already set based on the creation date of the story. I would like that story to move to "In Progress" status automatically if 4 days have passed from the created date or that custom date field.

I know that JIRA workflow has the trigger features but that only works based on  development tools (Fisheye/Crucible, Bitbucket and GitHub).

How do I do this? Is there any way? 

FYI - I have the following plugins in JIRA that I use to configure workflow

Jira Misc Workflow Extensions

Jira Workflow Toolbox

JSU Automation Suite for Jira Workflows

 

Any help would be appreciated. Thank you!

 

Thanks, 

Shahriar

1 answer

0 votes
Cody Stevens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2019

Hi @Shahriar Kabir 

I don't think this can be achieved via a workflow post function. In order for a post function to run, a previous step in the workflow needs to trigger it and post functions cant be scheduled.

I think your only option would be to add an additional add on that brings automation functionality to your projects. Listed below are two addons I highly recommend

#1 Automation for Jira
This is a powerful add on that adds automation to all of your Jira projects. You can have automations based off of comments, transitions, issues being created, scheduled automation's and much more. For this use case you would use the scheduled trigger and have it constantly run checking the date field to see if its reached the right date.

AFJ does have a free version but it limits how many times an automation can run a month.

 

#2 ScriptRunner

This add on allows you to add very powerful configurations and scripting to your instance. You do need groovy experience to use this but its definitely an add on I recommend having.

Shahriar Kabir August 23, 2019

Hi @Cody Stevens , 

 

Thank you so much for providing me those options. I will try those add-ons you mentioned. 

Thanks, 

Shahriar

Cody Stevens
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 23, 2019

Of course, I am glad I could help!

Suggest an answer

Log in or Sign up to answer