1
0
-1

Hi,


I have a use case where the securityLevel only needs to set on the first sync, for example:

  • Source side: no securityLevel present 
  • When 1st sync: set securityLevel to XX


In the documentation I only see code snippets where SecurityLevel names are identical or don't match.

But for this use case I'm not sure how to set this.


Thanks!


  1. Berry Kersten

    Juan Grases any idea's for this usecase? Thanks!

CommentAdd your comment...

1 answer

  1.  
    1
    0
    -1

    You can probably do something like:

    Target side:

    if(firstSync){
       syncHelper.syncBackAfterProcessing()
    }

    Source side:

    import com.exalate.basic.domain.hubobject.v1. BasicHubIssueSecurityLevel
    issue.securityLevel = new BasicHubIssueSecurityLevel(null, "name", null)


    Making sure you use the right name.

      CommentAdd your comment...