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,

You need:

1. Add the Security Level field to the create, edit and view screens

2. Grant the Set Issue Security permission to the user 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events