# Exalating attachments (pasted images) on azuredevops result in same-name files on receiving JIRA side

**URL:** <https://community.exalate.com/t/exalating-attachments-pasted-images-on-azuredevops-result-in-same-name-files-on-receiving-jira-side/4545>\
**Category:** General Questions\
**Tags:** azuredevops-jiraserv, migrated\_question\
**Created:** [November 4, 2024, 7:05am UTC](https://community.exalate.com/t/exalating-attachments-pasted-images-on-azuredevops-result-in-same-name-files-on-receiving-jira-side/4545 "2024-11-04T07:05:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:05am UTC](https://community.exalate.com/t/exalating-attachments-pasted-images-on-azuredevops-result-in-same-name-files-on-receiving-jira-side/4545/1 "2024-11-04T07:05:31Z")

</div>

_Originally asked by Ben De Pauw on 12 January 2021 [(original question)](https://oldcommunity.exalate.com/questions/20124163)_

* * *

exalating attachments (pasted images) on azuredevops result in transferred into same-name files on the receiving JIRA side,

this means you need to save copies & rename manually before being able to differentiate between the diff files.

This should be avoided. Appreciate a workaround for this / a solution to deal with this.

Unfortunately, AzureDevOps stores these attachments inline, without visible filenames, so I assume that the filename given is determined by the outgoing issue filter processing.

Thanks,

Ben

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:05am UTC](https://community.exalate.com/t/exalating-attachments-pasted-images-on-azuredevops-result-in-same-name-files-on-receiving-jira-side/4545/2 "2024-11-04T07:05:32Z")

</div>

_Answer by Francis Martens (Exalate) on 12 January 2021_

Hi Ben De Pauw

Nice to meet you here 😄  
You can modify the names of the files in the incoming sync on the Jira side.

I believe

**Incoming Sync - Jira side - totally untested**

```auto
issue.attachments = attachmentHelper.mergeAttachments (issue, replica, {
       it.name = "ADO_" + it.name
})

```

* * *
