Forums

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

Add Confuence Markup Dynamically via HTML

Mike Berry
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 3, 2019

Bit of a newbie - please be nice :) !.......

I have a spreadsheet containing a table which I am reading in via an Excel Macro, updating some of content via JavaScript and further formatting by css. 

The final piece of the puzzle is to allow a user to add a JIRA number into the xls, read it in and display the JIRA status via the JIRA Issue Macro.

I can do this manually using the confluence markup (i.e. {JIRA:TICKET-ID}) however I can't figure out how I can add this programmatically to the HTML (in order to show the status as described). 

If I simply add the markup text to the code it fails to add the data-client-id which causes the macro to (rather obviously) hang / fail.

Any help gratefully received.

Thanks, Mike.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events