Add file to a custom field

Hi Expert,

I am using jira version 6.2.3 and I want to add a pdf file to a custom filed using hyper link.I already implementation HTML to cusom field edit option.Now my question is which folder should I need to upload this pdf file under jira home directory for linking?

Please help me regarding this issue?



2 answers

Mohin, I hope that you already found a solution for your problem. If not, we published a File Field app in order to upload and download files using custom fields and you may want to have a look:

0 votes

I don't understand what you are doing here.

There are three possibilities I can think of:

1. The screen shot seems to show that you are using the link section. This is for linking to external urls. It does NOT add files to Jira, it really is JUST a link to a url. You'll need to be hosting the file on a server which provides the file on the url you put in there (yes, you could use the Jira server, but the service exposing the file over that url is going to have to be installed, configured and run outside Jira)

2. You could use the attachments "field" - this asks you for the file and uploads a copy of the file on to the Jira server, and then keeps it with the issue

3. You mention a custom field, which means not links or attachments. Jira doesn't have any custom fields that handle files, so if you really do mean a custom field, you'll need to tell us how you've created that field - what plugin is it and what does it do?

So, I guess the question is which one of these three you're trying to do. (Or we need another description if it's none of these)

Thanks Nic.

As per your first point-I would like to upload to jira server and then want to put this link in this"Click here".Is it possible to upload in jira server?If possible please share the folder name where I need to upload this file.

I'm not sure you understood what I'm getting at here (My apologies, I know my writing style is unclear a lot of the time. I find it difficult to translate the patterns I see in my mind into plain written English)

You need to define somewhere to keep the file. You keep saying "upload this file", but what do you mean here? Where are you keeping the file? Where is the upload going to? How are you doing it? What services are you running to provide the file storage you want to upload to?

Note that the only "upload" in Jira is the "attachments" area that will handle this for you. Use "attach file", and it will let you "upload" your file and have it appear attached to the issue. Jira will keep the files in its attachments directory and expose them on the issues.

I think what Mohin is asking for is the same thing I would like. In the Jira service desk, in a screen I am building, as one of the custom fields I would like to include a form as a hyper link, so that I can direct the user to a specific form that I want them to complete and then attach it to the task once completed.  I am aware of the field to allow them to upload documents, but I want to direct them to a particular document first. 

That sort of makes sense, but it's a rotten thing to do to your users.  Why not just ask them for the information you need in the form on the actual request?

I know I despise systems that say "hey, here's some stuff, but now you have to go open up something else, save it and then attach it to the place you've just landed in the hopes of doing something that should be 'answer some questions'"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

139 views 0 6
Read article

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