Forums

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

Auto fill the due date field based on the value of another field

Elif Alverson
Contributor
August 15, 2018

Is there any way in a Jira that would make below request happen ; 

If high risk is selected, enter 7 days from today (e.g. 8/22/18) in a due date field.

If moderate risk is selected, enter 30 days from today (e.g. 9/14/18) in a due date field.

If low risk is selected, enter 90 days from today (e.g 11/13/18) in a due date field.

 

Thank you.

1 answer

0 votes
Tarun Sapra
Community Champion
August 15, 2018

Hello @Elif Alverson

Out of the box you can't do it. But if you have paid plugins installed then it's piece of cake.

For your requirement, I would suggest Behavior module of ScriptRunner plugin.

https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html

Elif Alverson
Contributor
August 15, 2018

@Tarun Sapra

We do have script runner plugin. Do you have any example scripts that I can use for this request. 

If the risk custom field is high, due date will be auto selected 7 days from ticket created

If the risk custom field is moderate, due date will be auto selected 30 days from ticket created

If the risk custom field is low, due date will be auto selected 90 days from ticket created

Thank you.

Tarun Sapra
Community Champion
August 15, 2018

Suggest an answer

Log in or Sign up to answer