Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-77

As a user, I'd like to avoid duplicates when copying attachment from linked issues using the Edit issue fields action

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Actions
    • 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.

    Description

      Problem Definition

      Currently coping attachments from linked, parent or subtask issues duplicates attachments that have already been added every time it is executed, because it adds all the attachments in source to what already exists in target.

      As a user, I'd like to avoid duplicates when copying attachment from linked issues using the Edit issue fields action.

      Suggested Solution

      There are different ways we could implement this, but perhaps one suggestion is to:

      • Provide the option to overwrite all the existing attachments in target with the attachments on the copy source issue.

      Potential Workaround:

      This might not be very "efficient" way of dealing with this. However, until an official feature, this way could work around and meet the requirement by removing the duplicate attachments problem:

      Just add an Action of Delete attachments (all attachments) before the Edit Issue "Copy Attachment from Trigger Issue".

      PLEASE NOTE: This would delete all attachments from the linked issues before copying the attachments from the "parent" issue. That means, if you add an attachment only on the linked issue and not on the "parent" - subsequent trigger of this Automation rule will delete the "child-only" attachment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              takindele Taiwo Akindele (Inactive)
              Votes:
              17 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated: