Forums

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

Using Scripted field in dashboard in jira cloud

Marina Oliveira February 14, 2023

Hello, 
I am using Adaptavist ScriptRunner in JIRA Cloud. I have been reading a lot of materials and it seems we cannot use scripted fields in JQL or dashboards anymore. Is that correct? Does it mean the calculated field shows in the ticket and that is all, no way to use that information? 
Thank you

1 answer

0 votes
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.
February 14, 2023

Welcome to the Atlassian Community!

That is correct.  The way we've had to implement scripted fields means that they are not exposed to JQL or the dashboards.  This is because they are not held inside Jira (like the server ones are), so there are no field headers for them to get hold of.

There is a way to fix this - instead of scripting a field, create a Jira field, don't put it on any "update" screens, and then script the editing of that.  As the field will be inside Jira, your search and dashboards will be able to see it!

Marina Oliveira February 16, 2023

Hi Nic, thanks for the welcome and the reply! 
Do you have any documentation on the workaround? I understand the creating a field and the screen but not the scripting of it. 

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.
February 16, 2023
Marina Oliveira March 9, 2023

Thank you! not sure if it will help as I am trying to calculate the age of a ticket and show that in dashboards and filters so the ticket might not have any triggers. I will definitely look at it. Thanks! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events