• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Triggers
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Our customers are requesting an addition to the Automation Plug in.  They are requesting "On Clone" to be a trigger for their automation.

            [JIRAAUTOSERVER-16] "On Clone" as Automation trigger

            +1

            +1

            David Hong added a comment - +1

            +1

            Adam Ribeiro added a comment - +1

            The "Clone Plus" option in Jira Cloud sets the reporter to the person who is cloning. Clone Plus also resets some fields to empty, e.g. Fix versions etc.

            Nauman Hameed added a comment - The "Clone Plus" option in Jira Cloud sets the reporter to the person who is cloning. Clone Plus also resets some fields to empty, e.g. Fix versions etc.

            Manuel added a comment - - edited

            @Kristen:

            Take care about the syntax. In the comment it's written

            • triggerIssue.issuelinks.type.name

            But you need to use it with brackets
             

             {{triggerIssue.issuelinks.type.name}} 

             

             

            Also i think it's better to user the id because maybe some users translated "CLONERS" to their own language in the jpm.xml

            This way you get the ID:

             {{triggerIssue.issuelinks.type.id}} 

             

            And can compare it to 10001 (please check if 10001 is cloners also in your system, but i think this is default).

             

            Best Regards

            Manuel

            Manuel added a comment - - edited @Kristen: Take care about the syntax. In the comment it's written triggerIssue.issuelinks.type.name But you need to use it with brackets    {{triggerIssue.issuelinks.type.name}}     Also i think it's better to user the id because maybe some users translated "CLONERS" to their own language in the jpm.xml This way you get the ID: {{triggerIssue.issuelinks.type.id}}   And can compare it to 10001 (please check if 10001 is cloners also in your system, but i think this is default).   Best Regards Manuel

            Kristen Kopacko added a comment - - edited

            For some reason this doesn't work for me.  The error in the log says the issue doesn't match the condition.  

            Kristen Kopacko added a comment - - edited For some reason this doesn't work for me.  The error in the log says the issue doesn't match the condition.  

            Thanks Michael, it works. I wanted to have the above works only if i clone bug not for story, epic etc

            Abhishek Kalamkar added a comment - Thanks Michael, it works. I wanted to have the above works only if i clone bug not for story, epic etc

            Yes Please! I just had a request for automation that will copy the Summary field to a custom field on the new ticket upon cloning.

            Tommy Augustine added a comment - Yes Please! I just had a request for automation that will copy the Summary field to a custom field on the new ticket upon cloning.

            Michel's answer works like a charm, but I beat my head against the wall for an hour before I  noticed the critical 'Re-fetch issue data' step!

            Zane Rockenbaugh added a comment - Michel's answer works like a charm, but I beat my head against the wall for an hour before I  noticed the critical 'Re-fetch issue data' step!

            A possible workaround for this, could be using triggerIssue.issuelinks.type.name that should be Cloners for cloned issues:

            Michel (Inactive) added a comment - A possible workaround for this, could be using triggerIssue.issuelinks.type.name that should be Cloners for cloned issues:

              Unassigned Unassigned
              2d134af9df46 Lauren McGrath
              Votes:
              114 Vote for this issue
              Watchers:
              49 Start watching this issue

                Created:
                Updated: