Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ScriptRunner, Groovy, Return reporters issues

Knut Arne Ristebråten
Contributor
January 19, 2018

I am new to this so sorry if this is a noobie question - I have very little experience atm with groovy.

Hoping to get some help with this.

What I am after, is a panel added to a issue that returns the last issues (e.g. 10) that the reporter have created.

I found that the Scriptrunner can use the panel with Script Fragments -> Show a web panel.
But I got no idea how to write this code (Privder class/script field).

Can someone help me with the code? Seeing code like this also helps me in understanding this beter.

1 answer

0 votes
Krisztian Kovacs
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.
January 19, 2018

hi there,

this might help you get started with some basics: https://scriptrunner.adaptavist.com/4.3.4/jira/fragments/WebPanel.html#_conditions

but what I would do it:

I hope this helps a bit.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events