We recently had a change in the options of one field in JIRA. Let's say that for field X, option 'abc' became 'xyz abc' .
Filters using that option cannot find any results anymore.
I would like to mass update the confluence filters.
I know that in JIRA, filters are stored in the 'searchrequest' table.
Where does Confluence store the searches done in the JIRA issue filter macros?
Also, if instead of SQL anyone has another idea using groovy, as we have scriptrunner for Confluence installed, that would be great too.
The queries used in Jira macros in Confluence are actually stored in the macro on the page itself. You can see the raw data if you go to > View Storage format.
Here's an example of the storage format of a page that holds just a Jira Filter macro:
<p><ac:structured-macro ac:name="jira" ac:schema-version="1" ac:macro-id="1815ea5a-5b7b-4996-a2b8-ce4d67009107"><ac:parameter ac:name="server">Your Company JIRA</ac:parameter><ac:parameter ac:name="columns">key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution</ac:parameter><ac:parameter ac:name="maximumIssues">20</ac:parameter><ac:parameter ac:name="jqlQuery">reporter = currentUser() AND created < '2019-01-01' </ac:parameter><ac:parameter ac:name="serverId">bee9410a-b73f-38d9-9ded-f2af8cc4937f</ac:parameter></ac:structured-macro></p>
If you want to find this in the database, its held with the rest of the page content in the BODYCONTENT table.
I hope this helps!
Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events