Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to spread a param from a field to multiple macros ?

Anthony Mendez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 21, 2020

Hi all,

I'm new on creating user macros. I checked on the internet for solutions, but I couldn't find anything that'd answer my question. 

Context : All the pages on my Confluence are created using "Model Pages". In those pages there're a few macros that execute JQL scripts. And the only thing that change in the scripts on the different pages is an IssueKey. 

Question : Is it possible to have a field on my page that would allow me to enter my IssueKey only once and that could be used as a param in any macros of the same page ? (I know I could use the title of the page to "store" the key and then use getTitle() and do a sub-string, but I don't want it to appear in there). 

I don't know if I am clear enough, so don't hesitate to ask me if you need more explications.

Thank you for you help. 

 

Anthony M.

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 30, 2020

Hello there!

As I understand, you want to develop a series of macros for the cloud platform and need them to fetch all the same variables.

 I believe that you will have better results if we look for assistance inside our sister community, the Developer Community.

You can reach it here:

 

Let us hear from you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events