1
0
-1

I need to map some statuses from incoming connection, but I don’t want any actions in the others status, I need the code to ignore the unwanted transition status to leave the original status in the destination issue.

Is It possible to do with the script?

Thank you in advantage for reply

  1. Support

    Hi, 

    Can you please let us know which instances are involved?

    Kind regards,

    Harold Cruz 

  2. Francesco Doricchi

    The sync is between my data center environment and a cloud instance of a customer. My plugin version is 5.3.2-j8 and my Jira version is 8.4.2.

    thanks for support

    best regards

    Francesco

  3. Daniel Carvajal

    Hi Francesco Doricchi 

    Information about general status synchronization can be found here: https://docs.idalko.com/exalate/x/14YrAQ

    What you can do to ignore such transitions is to map the a status to the same status as the one already assigned so no transition is done in between, for example:

    def statusMap = [
    // ["remote status name": "local status name"]
    "In Progress": "In Action",
    "Pending": "In Action",
    "Done": "Resolved"
    ]

    Using this on the incoming sync will make that if the status received is either "In Progress" or "Pending" the status on the receiving side will remain "In Action" for both statuses.

    Give it a try and let us know if it works.

    Cheers,

    Daniel

  4. Francesco Doricchi

    I tried and it seems works

    thank you

CommentAdd your comment...