Skip to content

Multiple values support for JQL withChangedProperty  #919

@hungbang

Description

@hungbang

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions