attachment .config file

Hi, I can't open attachments in my ticket with extension .config or .Config

Somebody idea how to open them? or what to change

4 answers

1 accepted

Hi Thomas,

We had similar issue when using IIS as proxy in front of JIRA (and Confluence). The problem origin is from IIS Request Filtering module which deny access to some extensions and URL segments.

It's possible to remove this filter for a specific web application using the following commands at administrator command prompt:


  • Allow downloading of file with a filtered extension (i.e. '.config' extension)
    • appcmd set config "Web app name" /section:requestFiltering /-fileExtensions.[fileextension='.config']
  • Allow downloading of file with a filtered URL segments (i.e. 'web.config' file)
    • appcmd set config "Confluence"/section:requestFiltering /-hiddenSegments.[segment='web.config']


This document is from our internal KB : 

Best regards,


Hi Thomas,
I think what you'll want to do is edit the following file in your JIRA application:


And if you want these to be shown as plain text, more than likely you'll find the line that begins with:


Then build upon it.  So mine by default looks like this:

text/plain          asc txt patch log java

So yours may look like this: 

text/plain          asc txt patch log java config

Change this and restart JIRA, then hopefully you see them, rather than downloading them.  

Hope this helps!

Hey Thomas,

                    What does the atlassian-jira.log file say while you are trying to open the .config file from JIRA ticket. I have reproduced by saving a .config file and attached on JIRA 7.0.5 SQL Server.



Also let me know what version of JIRA you are running so I will try to replicate the issue.



Chander Inguva

Thanks for the responses,


When i click on my .config file in the attachments I get the following error (see image)


It even doesn't download the file.

 We are still on JIRA version 6.3.4


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

381 views 6 0
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