Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Workflow Validation question

 
1
0
-1

Hi,
I've refer Complex workflows with advanced validations page.
I saw that text

Ignore workflow conditions and validations
Exalate ignores all conditions and validators when syncing statuses and you don't need to adapt workflows. This approach is applicable for Jira Server status synchronization.

but I cannot sync my project
I have a Validation that compares today's date to the date in a custom field. However, an error occurs when syncing. How can I solve this problem?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hello, smparkwould setting that custom field to current date from incoming sync script help?
      Something like this:

      //...
      if(replica.status.name == "...") {  issue.status = "..." // your status sync logic
        issue."Date Field" = new Date() //you may use any custom field name like this
      }

      Regards, Serhiy.

        CommentAdd your comment...