Creating a scripted field to get number of tickets older than 5 years

rajeswari saravanan November 15, 2023

Planning to create a scripted field which states no of tickets older than 5 years in tracking project ticket.

any suggestions?

1 answer

1 accepted

0 votes
Answer accepted
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 15, 2023

Hi @rajeswari saravanan 

 

Not sure the script field is the best solution here as it apply at the ticket level.

Why are you not doing a JQL : updated <= -261w (5y is about 261weeks) then display the result into a gadget by project ?

 

Regards

rajeswari saravanan November 15, 2023

Hi @Florian Bonniec 

Thanks for the reply. And it works.


We have a separate ticket (project for tracking )to track the project existing.So planned to add that scripted field in it.So it will show the details of the project like owner,last issue update in one place.Any suggestions?

Nic Brough -Adaptavist-
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.
November 15, 2023

I would not try to do this with scripted fields, it sounds like you need a dedicated report.  Your "project for tracking" issue type is not a good approach.

Suggest an answer

Log in or Sign up to answer