Forums

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

[user macro] Is there a way to set a macro variable with a js variable value ?

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 23, 2020

Hi,

I want to create some custom "Jira request" macro. I have many similar pages with the same "Jira request" macro, the only difference on the macros of those pages is the Issue key in the JQL request. So my goal is to have the Issue Key written only once in the property table that would be spread among the different macros in the JQL request. 

So far, I have a macro that wrap my property table which allows me to get the Issue key and to put it in a global JS var. Now I want to create my custom "Jira request" macros.

The problem is : I don't know how to set a user macro variable using a JS variable value. 

Do you know if there is a way to do it ?

Thank you for your help.

 

Anthony M.

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events