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

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

2 answers

1 accepted

Accepted Answer
0 votes

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

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

61 views 0 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you