...
- Navigate to Settings > Manage apps > Github Macros for Confluence. Then, click Configure to open the app configuration page.
- Select Or, select Github Macro for Confluence Configuration under Atlassian Marketplace in the panel on the left.
...
Enter a name for the token and click Create new Link. An intermediate page is then displayed.
Check the address of the Atlassian cloud instance and token name. After verifying the details, press Start workflow. You are then redirected to the Github authorization page.
Click Authorize and the token page is now displayed. After the authentication is completed, you can enter the number or a number range of the code lines to be displayed in the Github File macro.
Note | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
You are now ready to get started with the macro!
Available macros
- Github Pull Request List
- Github Issue List
- Github Markdown File
- Github File Content
Using the macro
Here is an example of the Github Issue List macro filled out. The example contains details linking to a public repository so you can copy the values to try it out.
To use the macro, you must select your token from the dropdown. Enter the user name or the organization name, and the name of the repository to retrieve information from.
Pull requests and issues have a query field. You can use Github's Query language to select pull requests or issues you want to displayRefer to the Macros page to learn more about the macros.