Create
cancel
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

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

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 Apr 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
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,583 views 7 7
Join discussion

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