Integrating JIRA Agile with Confluence

As we have seen, JIRA Agile is able to leverage many JIRA features to add more value to simply running and managing your tasks on a board. Another great tool JIRA Agile integrates with very tightly is Confluence.

Confluence is a team collaboration solution from Atlassian (the maker of JIRA and JIRA Agile) that enables teams to collaborate and create content together. Organizations often use it to create and share information related to projects such as functional and design specifications. JIRA Agile works seamlessly with Confluence to provide you with a complete agile experience. In the following sections, we will look at how you can integrate JIRA Agile with Confluence to:

  • Create epics and user stories with design documentation
  • Manage and view your sprints on a calendar
  • Capture meeting notes for your sprint planning sessions
  • Create retrospective reports at the end of each sprint
  • Share and publish release information

Setting up an application link with Confluence

If you have not already integrated JIRA and Confluence together, you need to create a new application link. To create an application link with Confluence, perform the following steps:

  1. Click on the cog icon from top right-hand corner and select the Add-ons option.
  2. Select the Application Links option from the left navigation panel.
  3. Enter the URL to your Confluence instance and click on the Create new link button, as show in the next screenshot:
    Setting up an application link with Confluence
  4. Tick the The servers have the same set of users and usernames option if both JIRA and Confluence share the same user repository, for example, LDAP.

    Note

    If you have a common user repository for both applications, such as LDAP, by enabling this option, users will have a seamless experience. Otherwise, they will be prompted to authorize access for the first time viewing of contents from the other application.

  5. Tick the I am an administrator on both instances option if you have an administrator account on both JIRA and Confluence. This will let you also create a reciprocal link from Confluence to JIRA.
  6. Click on the Continue button:
    Setting up an application link with Confluence
  7. Verify that the onscreen information is correct. If both applications are able to communicate with each other successfully, it will display the URLs and application name and type, as shown in the following screenshot. Then, click on the Continue button:
    Setting up an application link with Confluence
  8. Continue with the onscreen wizard, and once the application link is successfully created, you will see a success message and the new application link listed for Confluence:
    Setting up an application link with Confluence

Creating Confluence pages from epics

JIRA Agile is a great tool to track and manage your day-to-day activities for your project, but it is not the best tool to capture detailed information for your tasks, such as design documentation and functional specifications for your epics.

With Confluence as a documentation platform, there are a few ways you can create design documents and link them to your epics.

The first option is to create your documents called Confluence pages, directly from your backlog:

  1. Browse to your Scrum board and go to its backlog.
  2. Open up the Epics panel from the left-hand side.
  3. Select and expand the epic you want to create a Confluence page for.
  4. Click on the Links pages link from the epic.
  5. Click on the Create page button from the dialog, as shown in the following screenshot:
    Creating Confluence pages from epics

    After you click on the Create page button, you will be taken to Confluence in a new browser tab with the Create dialog displayed, as shown in the following screenshot. By default, the dialog will have the Project requirements template (also called blueprint) pre-selected for you, but you can choose to use a different template if you want. Also note that the Select space field at the top will have the last Confluence space you have visited pre-selected, so make sure you select the correct space to create your new page in.

  6. Click on the Create button after you have selected the correct space to create your new page in:
    Creating Confluence pages from epics
  7. If this is the first time you have used the product requirements template, you will get a Let's get started information dialog, as seen in the following screenshot. Simply tick the Don't show this again option at the bottom and click on the Create button to create your new page:
    Creating Confluence pages from epics
  8. Click on the Create button again to start working on the new page.

Confluence will present you with a new page and editor, with a pre-defined template. You can simply fill in the templates with information such as goals and requirements. A few important things to note:

  • Make sure you give your page a title. A good practice is to name it after the linked epic.
  • Reference the epic in JIRA by clicking on the Link to related JIRA epic of feature text label from the Epic field. This way, a reference link will be created between the requirement page and the epic issue.

With the page created, if you go back to JIRA, the Linked pages link for the epic will change to 1 linked page, and clicking on that will show you the actual linked page, as shown in the following screenshot:

Creating Confluence pages from epics

If you already have requirement pages created for the project, instead of creating new ones from the epics, you can simply link to those pages by clicking on the Link page button. After clicking on it, you will get a search box, and you can type in your page's title, find the page you want, and select it to create a link. This is illustrated in the next screenshot:

Creating Confluence pages from epics

Note

If you cannot see the linked pages, make sure Confluence has remote API enabled. See https://confluence.atlassian.com/x/vEsC for more details.

Creating user stories from Confluence

If you are using the product requirements blueprint, as we have seen earlier, there is a section on the page for you to list out all the requirements for the feature. Once you have defined all the requirements with the team, you can create JIRA Agile user stories directly on the page. To do this, perform the following steps:

  1. Go to your product requirements page in Confluence.
  2. Highlight the text of the requirement you want to create a user story with. The text you highlight will become the summary of the user story, as shown in the following screenshot:
    Creating user stories from Confluence
  3. Click the JIRA icon. This will open up the Create Issue dialog, as shown in the following screenshot.
  4. Make sure the project and issue type selection is correct. You can click on the Edit link to change that.
  5. Enter a description for the user story.
  6. If the Product Requirements page is already linked to an epic in JIRA Agile, you will see a Link to epic option. Uncheck this option if you do not want the user story to be added to the epic.
  7. Click on the Create button to create the user story:
    Creating user stories from Confluence

    Tip

    If you have multiple requirements listed in the Requirements table on your page, you can click on the Create x issues from this table option at the bottom, and Confluence will automatically create a user story for each requirement you have.

After you have created the user stories, you will see a JIRA issue added next to each of the requirements, showing their key and status. Their status will be automatically updated as the issues are being worked on. You will also see a JIRA links button at the top of the page next to the breadcrumbs. Clicking on that will display all the JIRA issues currently linked to this page, including any epics and user stories. Refer to the following screenshot:

Creating user stories from Confluence

Note

Currently, the JIRA links button is only available if you use the default theme in Confluence.

Planning your sprints with Team Calendar

As you and your team work on the sprint, it is often helpful to see how your sprints fit in with other activities your team might have. For example, if there are team members going on a vacation or having travel plans half way through a sprint, or if there are other delivery commitments that might interfere with the sprint.

Again, the key to solve this is to have all this information visually displayed on a single calendar, viewable and shared by the entire team, so everyone can stay well informed, just like having tasks plotted on an agile board. To do this, perform the following steps:

  1. Browse to your team's Team Calendar.
  2. Click on the Add Event button.
  3. Select the JIRA Agile Sprints option for Event Type:
    Planning your sprints with Team Calendar
  4. Select the project that belongs to your Scrum board.
  5. Enter a name for the event.
  6. Click on the OK button to create the event.

Once you have created the event, Team Calendar will get all the sprints you have for the selected project, and display them on the calendar. As shown in the following screenshot, we have two sprints, Sprint 2 and Sprint 3. We can also see that Tom Johnson will be away at the start of Sprint 2, which might have an impact on the team's ability to complete everything in the sprint on time. Also, if you have all team members' vacation plans on the calendar, then during your sprint planning sessions, you will have all the information you need when deciding how much work should go into the sprint and how long the sprint should be:

Planning your sprints with Team Calendar

With the calendar all set up, you can also share and embed it. A good way to use this feature is to create a new Confluence page in the same project space where you have all your requirement documentation, call it something like Project Calendar, and then embed the calendar into the page. To embed the calendar into a page:

  1. Click on the Create button at the top of the page.
  2. Select the project space for the Select space field.
  3. Now select the Blank page option and click on the Create button.
  4. Name the page Project Calendar.
  5. Select and add the Team Calendar macro into the page.
  6. Click on the Add Existing Calendar option.
  7. Search for the calendar you have created, and click on the Add button.
  8. Click on the Save button to create the page:
    Planning your sprints with Team Calendar

After you have created the page, you will have all the information about the project in a single place, along with the Confluence space for the project, for easy access. One additional step you can take is to create a quick shortcut link on your Scrum board to the Project Calendar page, so it is just a click away when you need it.

To create a link to the page:

  1. Browse to your Scrum board.
  2. Click on the Add link option from the left-hand side.
  3. Enter the URL for the Project Calendar page.
  4. Enter a label for the link, that is, Project Calendar.
  5. Click on the Add button to create the link.

The link will be displayed under the Project Shortcuts section on the left-hand side, as shown in the following screenshot. So during your sprint planning sessions, or work sessions on the active sprint, you can easily access Project Calendar and get the most up-to-date information:

Planning your sprints with Team Calendar

Capturing sprint meeting notes

As we have seen, you can plan and visualize your sprints with Confluence's Team Calendar. Another important part of your sprint planning session is to keep records of the meetings, capturing what was discussed, decisions made, and being able to reference back to those meeting notes in the context of your sprints.

Just like requirement documents, Confluence is also a great place to capture and store this information. From inside your Scrum board, you can create and link each sprint to pages in Confluence, just like with epics.

To create a meeting note for a sprint:

  1. Browse to your Scrum board.
  2. Click on Backlog on the left-hand side to display all your sprints.
  3. Click on the Linked pages link for the sprint that you want to create a meeting note for.
  4. Click on the Create page button if you want to create a new meeting note page, or the Link page button if you already have the meeting note ready:
    Capturing sprint meeting notes

If you click on the Create page button, you will be taken to Confluence, with the Create dialog showing. It will have the Meeting notes blueprint pre-selected. Make sure the correct space is selected and click on the Create button; you will be able to start entering your meeting information. Once you have created and saved the meeting note, the page will have a JIRA link referencing the sprint it has been created for, as shown in the following screenshot, and the sprint will also list all the meeting notes it has:

Capturing sprint meeting notes

Creating retrospective reports

Other than creating meeting notes, another great feature is being able to create retrospective sprint reports at the end of each sprint. Remember, one of the key ideas behind agile is continuous improvement, so it is important that at the end of each sprint, the entire team comes together and discusses what they did well, and what went wrong during the sprint; also, to summarize lessons learnt, and discuss how to improve the process in the next sprint as a team.

To create a retrospective report for your sprint, perform the following steps:

  1. Browse to your Scrum board.
  2. Click on Reports from the left-hand side.
  3. Select the sprint to be reported on and select Sprint Report.
  4. Click on the Linked pages link.
  5. Click on the Create page button:
    Creating retrospective reports
  6. Click on the Next button in the Confluence Create dialog.
  7. Enter a title for the report or leave the default.
  8. Add all the team members present in the retrospective meeting.
  9. Click on the Create button to start work on the report.

Just like all other reports created with JIRA Agile, a reference link will be created between the report and the sprint, so you can easily go back and forth between the two.

Displaying your project in Confluence

The last integration feature between JIRA Agile and Confluence is to create reports on the project based on specific versions. There are two types of reports you can create:

  • Change log report: The change log report lists out all the issues that are part of a selected version. This saves you the hassle of manually compiling a list of issues and entering them. This is a great way to communicate changes within a given version to your customers and other stakeholders.
  • Status report: The status report is a live report that shows the status of the project in a number of pie charts.

To create these reports, you will start in Confluence instead of JIRA Agile:

  1. Log in to Confluence and browse to your project space.
  2. Click on the Create button at the top or press the C key on your keyboard.
  3. Select JIRA Report from the Create dialog and click on Create.
  4. Choose the report you want to create and click the Next button. In our example, we are creating a status report:
    Displaying your project in Confluence
  5. Select the project and version to report on. These fields are auto populated based on data coming from JIRA.
  6. Enter a title for the report.
  7. Click on the Create button to start work on the report.

The default report template will be auto populated based on the information you have provided, so you can simply click on the Save button to create the report without any further changes. The following screenshot shows a default status report:

Displaying your project in Confluence
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset