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:

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

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

469 views 3 18
Read article

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