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.
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.