Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

How to create dynamic parameters in confluence macros body?

I am developing confluence plugin using Atlassian SDK.

The thing i want to do is dropdown list with dynamic values and dynamic number of values. This dropdown list should be in confluence macro body.There is some API on internet where i get these values from.

Now i am hard coding these values in atlassian-plugin.xml file. Tag <xhtml-macro><parameters><parameter><value>. . . 


The options I've tried :

  • Velocity template
  • All types of xhtml-macro, category
  • Rest request to my backend app (Stuck with next exception - The origin server did not find a current representation for the target resource or is not willing to disclose that one exists)
  • I even tried to create atlassian-plugin.xml and export it to target/classes folder


Can someone tell me the right solution to achieve my goal please?


ATLAS Version:    8.2.7

ATLAS Home:       /opt/homebrew/Cellar/atlassian-plugin-sdk/8.2.7/libexec

ATLAS Scripts:    /opt/homebrew/Cellar/atlassian-plugin-sdk/8.2.7/libexec/bin

ATLAS Maven Home: /opt/homebrew/Cellar/atlassian-plugin-sdk/8.2.7/libexec/apache-maven-3.5.4

AMPS Version:     8.1.2


Снимок экрана 2021-12-09 в 15.42.07.png

1 answer

0 votes
Jack Brickey Community Leader Dec 11, 2021

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

1,057 views 8 43
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