Forums

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

Create Smart Values in Jira DC

Karin Biedermann
Contributor
July 19, 2023

Hello everyone

I am having the same problem as an other user had and who already has described it nicely in Solved: Change the due date of all tasks and subtasks of t... (atlassian.com) 

My problem is that I can not follow these steps as I couldn't find out how o create a variable (see below) in Jira DC. create variable.jpg

So now I have two questions: 

  1. is it possible to create variables in Jira DC version? And if yes, how?
  2. If it is not possible to create variables in Jira DC version, is there another way for me to calculate the difference in the old Due Date and the new Date and apply these time difference to child issues? 

thank you for your help

1 answer

0 votes
Marco Brundel
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.
July 20, 2023

Hello,
Create Variable is unfortunately not available on DC.
You can, however, place the smart value directly in a field.

Regards, Marco

Screenshot 2023-07-20 at 09.27.50.png 

 

 

Screenshot 2023-07-20 at 09.32.04.png

Karin Biedermann
Contributor
July 24, 2023

Hi @Marco Brundel 

Could you elaborate your response. I am quite new to these automations and I do not understand what to place directly in a field. It should cover 

  • calculating the difference between the old due date and the new due date of the Epic
  • save this difference and apply it to the due dates in the stories and their subtasks
Like John Funk likes this
Marco Brundel
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.
July 25, 2023

Hi @Karin Biedermann ,

If you use the Value Changes for Due Date trigger, you use {{fieldChange.from.toDate.diff(fieldChange.to.toDate).days}}
to calculate the difference in days between the old and new due date.

If you want to record these days, you can include this value in a custom field.

What do you mean with "apply it to the due dates in the stories and their subtasks". ?
Do you want to copy the new due date to the due dates in the stories and their subtasks?

Regards, Marco

Screenshot 2023-07-25 at 09.29.50.pngScreenshot 2023-07-25 at 09.29.38.png

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer