We customized jira workflow to meet our end user requirement. We have Transition(id) “Submit To Assignee” .
When we create any issue status will be in “draft”. And when we create any issue we have option to select “Due Date” .
“Due Date” Can be current date , future date and Past date.
When we select any created “issue” then there is option/button to “ Submit to Assignee”.
When we click on “Submit to Assignee” button ,issue status changed to “In Progress” .
Currently we have written jelly script , that will run at every 12 hours and changes issue status to “Overdue” for “In Progress “ issues based on current date and past date.
Our customer looking while clicking on “Submit to Assignee” button ,issue status should be based on “Due Date” for example see below conditions
a. On Click “Submit to Assignee”
1. Check “Due Date” , if it is past due date change issue status to “Overdue” immediately
2. Check “Due Date” , if it is current/future date change issue status to “In Progress” immediately
Please help us to achieve this functionality either by custom changes in workflow or any straight forward plugin allow us to achieve it.
Please provide your valuable solution or guidance or plugin details , but that should fix our problem.