tfs-jira-synchronizer attachment download problem

We use TFS4JIRA to synchronize our issues and work items. We created a profile and configured the field mappings. All the mappings work fine, except the attachments. After a deep investigation, we found the problem. The application "tfs-jira-synchronizer" running under IIS throws an exception (401 - Unauthorized).

The exact point of the exception is the SaveJiraAttachmentContents method :

webClient.DownloadFile(string.Concat(new string[]









This code does not work because we do not use "Basic Authentication" and the webclient does not use default credentials.


So, is there anyone that has an idea to work around this problem?

Thanks in advance.


1 answer


Indeed the attachment download is being done without basic authentication headers, which is incorrect. I have created a bug for that at Please watch this bug. I will try to create a fix as soon a spossible

UPDATE: linked to the bug is a build of the synchronizer that fixes the problem. Please try it

Best Regards
Janusz Gorycki,

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

212 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you