Forums

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

My Jira Automation isn't correctly calculating the field I want it ot

Gui Annunciacao
November 2, 2023

I've introduced a new field in me project called "Weeks Duration." It is supposed to take a targeted end date and dubstract a targeted start date, and represent that value in weeks. 

 

So if I an issue's targeted end date is on Dec 15, and the targeted start date is on dec 1, then I want the duration to be Dec 15 minus dec 1. 

 

Here is the syntax I'm using.

{{issue.targetEnd.diff(issue.targetStart).weeks}}

 

The rule runs every time, but the value is never updated. Just shows nothing. Help?!

1 answer

0 votes
Alexey Matveev
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 Champions.
November 4, 2018

Hello,

Go to Issue Navigator and turn on the detailed view:

Screenshot 2018-11-05 at 09.09.55.png

Pravin Bansal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 4, 2018

Thanks 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events