Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I use Smart Values to pass attachment links from blocker to blocked issues? Edited

Is there any SmartValue out there or any other way to generate a list of links to an issue's attachments?

Situation

We have a project that has two types of issues: Data Acquisition and Tasks.

Data is collected in Data Acquisition issues then the blocked Tasks use this data (many to many relationship between Data Acquisitions and Tasks).

Automation adds a comment to Tasks when Data Acquisition issues are completed to alert assignees.

Problem

Task assignees do not have any direct path to the Data Acquisition data they need while viewing the Task. Requiring users to click through linked issues to access the data is a drain on time as is requiring users to manually propagate Data Acquisition attachments out to blocked issues.

How can we automatically have attachments from Data Acquisition issues available on Tasks with a single click?

What I've tried

I have not found any workflow automation, project automation or legacy automation that will copy attachments from one issue to another.

I'm currently trying to make it happen with SmartValues but do not see one that returns the path of the attachments, only the file name. I am missing the attachment ID.

Screenshot_2021-03-11 Project automation - Jira(1).png

1 answer

1 accepted

2 votes
Answer accepted

Hi @Jon 

At this time for automation rules, I believe you can only add links to the attachments in the linked story comment.  Selecting such a link will download it as a copy, and will not open within Jira.

If that would work for you, this will produce a list of links to the attachments for the triggering issue:

Here is the list of attachments in {{triggerIssue.key}}

{{#triggerIssue.attachment}}
* {{filename}}: {{content}}
{{/}}

 

Best regards,

Bill

That did it! Thank you so much!

Like Bill Sheboy likes this

Jon, I am glad that helped you.

By the way, when hunting around for a smart value for a field you may use the method described in this article to help.  It involves finding a representative issue/story and then calling the REST API for it; the resulting JSON will often show the smart value name.

https://support.atlassian.com/jira-software-cloud/docs/find-the-smart-value-for-a-field/

__Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

354 views 19 20
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you