Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Copy attachments from issue into customer field named "Attachments"

Dan27
Contributor
April 23, 2018

Hi,

I am a new developer on Jira.

I need to copy the attached files of the issues and put them in a customField named "Attachments" (like a link that will open the file).

 

Thank you!

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2018

Why don't you just use the attachments "field"?

Dan27
Contributor
April 23, 2018

I would like to write it by script runner.

I made a new custom field named "Attachments", and a new script. now I need to take the attachment of every issue and copy the link to the custom Field.

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2018

Why?  The links are already in the attachments area.

Dan27
Contributor
April 23, 2018

ok.. So how can I use the links and copy them to the relevant custom Field?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 23, 2018

I don't think you're understanding this.

What is the point?  You are doing nothing that I can imagine being in the slightest bit useful by duplicating data that is already on the issue in front of the user.  Why are you wasting your time with this?

Dan27
Contributor
April 23, 2018

I would like to see the attachments in "search for issues" screen-> List View, as a column (customField)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events