question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple values support for JQL `withChangedProperty `

See original GitHub issue

I followed this document: https://javers.org/documentation/jql-examples/#property-filter to implement JQL in my services: …

if (auditCriteria.getToCommitDate() != null) {
            builder.to(auditCriteria.getToCommitDate());
        }

        builder.withChangedProperty("name");
        
        JqlQuery jqlQuery = builder
            .withNewObjectChanges()
            .build();
        return javers.findChanges(jqlQuery);

But I have 2 changed properties need to filter: name, key. Then my question is how can I use OR sematic for changed properties. For example: builder.withChangedPropertyIn(Lists.newArrayList("name", "key"));

I have put the question on Stackoverflow as well. https://stackoverflow.com/questions/59074564/javers-and-spring-boot-changed-property-filter-for-multi-properties I am very appreciated JaVers team who created nice audit open source. Thank you so much JaVers Team.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bartoszwalacikcommented, Nov 28, 2019

There is no such filter, you can add it to Javers and contribute a pull request. Btw please do not crosspost. It makes our job harder.

0reactions
bartoszwalacikcommented, Oct 16, 2020

released in 5.13.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

JQL query to return issues with multiple values in a multiselect
I have a multiselect custom field called "Reporting Customer" I would like to search JIRA for issues that have been reported by more...
Read more >
How to search a text field for multiple possible values in JIRA
I think you already have the best answer to your question with JQL, by using.... description ~ “term” OR description ~ “different thing”....
Read more >
Create on Transition for Jira - Confluence
Description. Multi-select, multi-checkbox, and similar custom field types can have multiple values. This makes conditioning a bit more ...
Read more >
Jira JQL: How to Search Jira Issues Like a Pro [2022 Guide]
Many non-technical Jira users tend to shy away from using JQL to its ... All queries are made up of fields, operators, values,...
Read more >
Advanced Search With JQL Functions | Zephyr Scale Server ...
Search for issues that are covered by test cases that match the specified fields and values. Custom fields are supported.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found