Using scaffolding text fields to pass values for jira macros in a template

I would like to allow the users to provide a link to a jira filter in the text field provided by the scaffolding macro. Then I would like to take that jira filter link and use it in either a jira issues macro to show a list of jira issues on the confluence page. I am wondering if this is possible.

Thanks for all your help.

2 answers

It is possible, provided your users understand the need to provide keys as a comma delimited string which you capture in a text-data field. In this case you can use the report-on macro from the Reporting plugin to inject that string into the jira issues macro. Be careful that any percent signs used in the query parameter are doubled up, so that Reporting doesn't treat these as markers for injection. In my case, I originally wanted to capture the jira keys in a report-table, which the end user could add rows to as required. This part worked well, but Reporting in Confluence 4 could not output the jira keys as a comma delimited string, and so I had to go back to a simpler way to capture those values. See this forum topic which may have snippets to help you: http://community.customware.net/customware/topics/generating_a_comma_separated_list_of_values_from_table_data_keychain_help?from_gsfn=true

Confluence {run} macro allows you to do this by accepting a value form user and rendering the contents based on the same. You can use jiraissues macro within the run macro.

I meant the plugin from Bob

https://bobswift.atlassian.net/wiki/display/RUN/Run+macro

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

46 views 1 2
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