Forums

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

Automate Fix Version based on Due Date

Kavya N Murthy February 10, 2022 edited

I want to have the fix version auto populate by extracting the "YYYY-MM" from the due date. Eg: if the due date is 2022/02/15 then I want the fix version to be updated as 2022-02. I tried doing it using smart values, the audit log says success but the field value is not updated. 

image.png image.png

1 answer

1 accepted

1 vote
Answer accepted
Sachin Dhamale
Community Champion
February 10, 2022 edited

Hi @Kavya N Murthy 

Welcome to the Atlassian Community.

I have reproduce this issue and to resolve this issue you need to create a version first in your project like 2022-01,2022-02 ..... 2022-12. I have tested this with description field same you can do this with due date

If this version is not present in the project already then it will not work.

If this version already present then automation rule will pick it up as per due date.

Please accept the answer if it helps.

 

Automation.png

Thanks,
Sachin

Kavya N Murthy February 10, 2022

Hello Sachin,

Thanks for your reply. The fix version has been already added but it is not picking up the value. Also I tried changing the due date to other fields to check if it works but the fix version field is not update with any (eg: summary, key, status..etc). I am not sure why this is happening.

image.png

Sachin Dhamale
Community Champion
February 10, 2022

@Kavya N Murthy ,

I have done same thing with the description field - If i put the 1.0 in the description field while creating issue then fix version will be set as 1.0 values.

It may be issue with your smart value. Can you try with description field

{{issue.fields.description}} - This is the smart value i have given. It works fine

If it works for you then check with you smart value

Thanks,
Sachin

Kavya N Murthy February 10, 2022

Thanks, it works fine now :)

Like • Sachin Dhamale likes this

Suggest an answer

Log in or Sign up to answer