Forums

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

Need to Auto Populate the Target Completion date Field based upon Priorities change

Venkata Sagar April 20, 2022

When Priority is set in the Bug ticket OR When Priority is modified to a new Priority Value, auto populate the "Target Completion Date" with a date based off the following time duration per Priority Level measured from the time of ticket creation:

For example, if a ticket is created on 8/20/21, and the Priority is set to P1 on 8/24/21, then the Target Completion Date should be auto populated to 9/24/21
Another example - if a ticket previously was a P1, then its priority is modified to P2, and its original Target Completion Date was 10/5/21, then the Target Completion Date needs to be auto-updated to 11/9/21

_thumb_820385.png

1 answer

0 votes
robert Mugabuhamye
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.
April 20, 2022

Hello @Venkata Sagar 

You can use Automation for Jira to do that.

You will create two automation.

One that is triggered on creation and that edit the Target completion date using the function plusweeks

  1. trigger = on issue creation
  2. add a condition to filter on your issuetype for example
  3. use the if/else condition to check for the value of priotiry
  4. edit the completion date using the function plusweek
    1. {{now.plusWeeks(3)}}

The second automation should be triggered on priority editions and use almost the same. the smartvalue should be something like 

  1. {{Target Completion Date.plusWeeks(3)}}

 

Regards,

Venkata Sagar May 11, 2022

Hello @robert Mugabuhamye ,

Sorry for late Response ,Thanks for providing solution , but in our jira we are using automation plugin, but it is lite version. So can you help me with another solution. Thanks 

Venkata Sagar May 17, 2022

Hi @robert Mugabuhamye 

Can you please help me on this issue. Is there any Alternate solution ? Thanks 

Suggest an answer

Log in or Sign up to answer