is there anyway to create a listener that will automatically copy attachments from subtask to parent

Is there anyway to create a listener that will automatically copy attachments from subtask to parent? I am trying to keep all attachments at the same level and accessible. 

1 answer

This widget could not be displayed.

Hey Scott,

You can write a scripted field using ScriptRunner or develop a custom-web-section to display related attachments.

Here is some sample code that will help you get started.

https://community.atlassian.com/t5/Answers-Developer-Questions/Re-Sub-Tasks-show-Parent-Issues-Attachments/qaq-p/545575/comment-id/83230#M83230

In the above example, Renjith talks about displaying parent issue attachments in the scripted field on sub-tasks. You will be modifying the code to implement the opposite.

Cheers

Bhushan

ok so im not really looking to do this in a scripted field but in the attachment section itself. Im also hoping that it copies to parent any time an attachment is added to a subtask,

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

70 views 1 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