1
0
-1

Hi team!


We have 2 Jira Cloud instances.

We would like to test a sync by synchronizing only a Single Sprint of a board. (Not all Sprints of the Sprint Board).


Have you got any insight to perform this action?


Thanks!

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi Nicolo,


      I have just tested this using the following code snippet on the Outgoing side:


      def boardIds = ["7"] //Boards which sprints will get synced
      if(entityType == "sprint" && boardIds.find{it == sprint.originBoardId}){
          if (sprint.name!="MP Sprint 2") return
          replica.name = sprint.name
          replica.goal = sprint.goal
          replica.state = sprint.state
          replica.startDate = sprint.startDate
          replica.endDate = sprint.endDate
          replica.originBoardId = sprint.originBoardId
      }


      The key is the if statement which would return unless the name matches a specific sprint that you want to sync.


      Hopefully this gives you a path forward. 


      Thanks

      Majid


        CommentAdd your comment...
      1.  
        1
        0
        -1

        Thank you Syed! Super!


        I'm going to test it!!! (smile)

          CommentAdd your comment...