Forums

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

How can I call Gadget delete event in Dashboard ?

Maulik Adiecha January 30, 2018

I need to perform some operations once user delete gadget on dashboard. I have found events like jira.setDashboardItemTitle(title) to set  title, jira.DashboardItem.onDashboardItemEdit to perform some operations on edit click.

Like above events is there any delete event ?

Any help will be appreciated. 

1 answer

0 votes
Moga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2018

Hi Maulik,

I don't have an exact solution as you are looking for. However, when a user deletes a gadget on a dashboard, the web browser sends:

DELETE <Base URL>/rest/dashboards/1.0/10100/gadget/10100

Maybe you can catch this and then perform some operations. I hope that this helps.

Cheers, 
Moga

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events