Forums

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

Is it possible to bulk delete gadgets in Jira?

Benjamín Alexander Mella Marilao February 1, 2023

We need to delete several gadgets that are no longer available in our Jira and we want to know if there is any way to delete them in bulk, either through the database or through the Jira console. We have been able to identify the IDs in the portletconfiguration table. Thank you in advance!

2 answers

1 accepted

1 vote
Answer accepted
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 1, 2023

There is no way to do this other than deleting the entire dashboard.  Do not touch the database, you will almost certainly corrupt it.

Benjamín Alexander Mella Marilao February 1, 2023

And it is not possible to do it through the Jira console ? (Script runner).

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 1, 2023

Oh, via Scriptrunner (the console is part of SR, not "the Jira console", so I thought you meant something else.

With a list of IDs, absolutely, yes.  It's been a while since I worked with it, but I think you can use PortletConfigurationManager to both get the whole gadget object and then delete it. 

Benjamín Alexander Mella Marilao February 1, 2023

Could you provide me with an example of what you're mentioning? I'm having trouble understanding the documentation link.

 

thank you very much!

0 votes
Benjamín Alexander Mella Marilao February 1, 2023

-

Suggest an answer

Log in or Sign up to answer