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

In the Macro Browser, how do I display a drop-down menu of attachments for a user macro?

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 9, 2011

I've used the following syntax to produce a select field (dropdown menu) for a list of attachments in the Macro Browser, but the list is blank

## @param attachment:title=Attachment|type=attachment|required=true|desc=Choose an attachment

Is this functionality even possible? If so, please show an example.

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2012

I'm guessing you saw that parameters could be attachments somewhere in a plugin.xml file or maybe in macro-browser-fields.js. You're right - it's supposed to be working. It got left out of the documentation about what types are allowed. See the parameter types documentation.

Anyways, documentation or no, it's a bug. Track it at CONF-24016. There's a good explanation of the root cause there.

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
January 24, 2012

Thanks @Jeremy Largman. I hadn't spotted that this was a bug, just thought that it was an omission and would be damn handy.

Btw: I quite like this new(ish) "poke atlassian" function. How's that going? Are us AAC users using it wisely or abusing it? ;-)

Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 24, 2012

It's been an interesting experiment. I like it, in general. A few people hit it for every question, right away. I'm not sure I'd call that abuse, though? I'm still trying to figure out if Atlassian should staff Answers officially, and if so to what degree. One thought is if people want answers from us - whether here or in support.a.c - we should give them out. Another thought is that this is a community, we will moderate but it's not a support channel. Yet another is that you don't have to pay for maintenance if you use Answers and poke Atlassian all the time. Hopefully we'll strike the right balance. As an experiment this has gone well so far.

eyrisone June 17, 2015

Also looking for this functionality. Please add to thread if a solution is found.

0 votes
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 17, 2011

Anyone? Pretty please :)

TAGS
AUG Leaders

Atlassian Community Events