Insert Jira Issue Link in a table on Confluence Server Page using nodejs code

anamika25 April 13, 2020

I am trying to insert Jira links corresponding to jira issues in a table on Confluence page through nodejs code. However, I couldn't find any help online on how to do so. I know that we can use Jira macro on confluence to insert links, but I am not sure how to achieve the same results through custom code (nodejs). 

Please let me know how can I insert jira links on confluence page from nodejs coding.

I am attaching sample image of the table on confluence.

Screen Shot 2020-04-13 at 1.48.20 PM.png

1 answer

0 votes
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 16, 2020

Hello @anamika25 ,

If you are using Confluence storage format to create the page then you can find the storage format representation for the Jira issue links in the following threads:

<ac:structured-macro 
ac:name=\"jira\"
ac:schema-version=\"1\"
ac:macro-id=\"ce876bed-eeb4-4592-9255-a3a216c1d507\">
<ac:parameter ac:name=\"server\">System JIRA</ac:parameter>
<ac:parameter ac:name=\"serverId\">YOUR-SERVER-ID</ac:parameter>
<ac:parameter ac:name=\"key\">YOUR-ISSUE-KEY</ac:parameter>
</ac:structured-macro>

 

 

Also, for the future, please notice that this might not the best place to get help on development related questions. You have much higher chances to get help on development related question using the links you can find in https://developer.atlassian.com/resources. Specifically:

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events