Just added a trial for ScriptRunner for Jira and created a basic Scripted Field for ALL Projects. This scripts tests successfully and saves.
However, the field is not showing in any of the Gadgets in Jira Dashboards regardless of which location I attribute it to. I was hoping to see it in Filtered Results gadget.
If I assign it to SideBar location, it does show up in Scripted Fields in Jira Filters and works properly but not in Dashboards
I am using Jira Cloud
Most gadgets can only display certain types of field. I know you're thinking of a scripted field as its own type, but it is worth looking at exactly how the field looks to Jira.
Go to Admin -> Issues -> Custom fields, and look for your field. What does it say in the "type" column?
I can not find the Scripted Fields in the Custom Fields under Issues. I have created two Text Scripted Fields, one in each location (Issue Sidebar and Issue Content. Neither shows in Custom Fields or Dashboard.
As mentioned above, the Side Bar in any given Filter does show the Scripted fields for each task but not in Dashboard.
I have also configured these field to be visible for all Issue Types to ensure it is not a problem with mixed types in a filter but no luck. Not sure what I am missing.
Yes, change the stance slightly. Instead of a scripted field, create a standard off-the-shelf Jira custom field of the right type, and populate that with a post-function or listener script. You can steal 95% of the scripted field script you have already to cover the logic!
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events