Forums

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

How to update PortletConfiguration (Gadget) to get another filter saved in it?

JIRA Plugin Developer July 8, 2014

How can I update a PortletConfiguration to get another filter saved in it?

2 answers

1 accepted

0 votes
Answer accepted
JIRA Plugin Developer July 8, 2014

My problem was that whenever a dashboard was cloned, it was created a copy of it, but all filters in its gadgets were the original filters. But I wanted cloned dashboards with cloned filters in it, so all original stuff keeps untouched, when working with the cloned dashboards.

I've already found a solution, how to manage that. I always created a new filter, modified the UserPrefs of each Gadget and save it afterwards with saveLegacyPortletConfiguration(...).

1 vote
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.
July 8, 2014

I'm sorry, that doesn't make much sense. If you've got a portlet configuration, you've got some settings from the user. What do you mean "another filter"? If you need another filter, you set up the properties to ask the user for a second filter.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events