Step-by-step guide to Release pages & Widgets
Overview
Release pages are unique webpages designed specifically for release notes. They allow you to present your release information in an independent format. Access to these pages can be set as public, private, or restricted, providing you with the flexibility to choose who can view the release notes..
To help you get started, we are providing step-by-step guide that explain how to use these tools effectively, as they operate in slightly different ways. Once you grasp the fundamentals, you'll be able to make your own customizations based on the information provided below.
Navigation
Release pages feature is available only on the In-project screen. Navigate to the relevant Jira project >> Click on Automated Release Notes & Reports app under the project’s left navigation >> Click on Release Pages & Widgets tab >> Click on Create.
Create release page
Once you Click on Create & you’ll be brought to the Create release page screen. On this screen, in the left side, you will notice different editing options, whereas on the right side, you can see an immediate preview of the changes you have applied. The preview will be displayed based on the template you have selected from Release page template at the top dropdown.
Step 1 Select template
There are 3 types of templates available in the Release pages. Read more about the templates here - Release page & Widget templates & widget modes | Release page templates. Select the template of your choice (refer above image) and complete the configuration from the given sections one by one. All the configuration settings are explained below -
Step 2 Configurations
Step 3 - Save
Now that all mandatory configurations are filled out, click on Save.
Step 4
To ensure everything is set up correctly, copy the page URL & open it in a browser tab. Since the release page doesn’t have any releases yet, this is what it will look like.
Step 5
Half the battle is won! Its time to set up the Rule
Now you must set up a rule to populate information on this release page. Head over to the Rules tab & click on Create. Provide the appropriate name for the rule & choose Manual trigger.
Step 6
Click on Add release page action & choose the relevant release page
One can also decide whether subsequent actions should be executed or not if the release notes action fails.
Step 7
Run the rule manually by providing it with a version
System shows below pop up when you click on icon on Rule details page to run the rule. Select the version and click on OK. You can use check boxes to get the relevant type of release/s in the dropdown.
Step 8
The final step!
Click on Ok & wait for about 30 seconds for the rule to be executed. (Assuming the selected version has issues associated with it) the release page will now display the data. It will look like the image shown below.
For troubleshooting (If needed), look at the logs tab & see if you see any failure messages
Widget - Step by step guide
Step 1
Click on Create & you’ll be brought to the following screen. Pay close attention to the information provided
Widget details
Name - This is the widget name but unlike release page, it is not visible to the end users
Description - Same as the name, not visible to the end users. And you can keep it empty too
Enabled - Keep it on
Widget content layout
Release details -
Title - You can use one or more variables here. The full list of variables is here - Customising templates with visual builder. This field can be kept empty.
Subtitle - You can use one or more variables here. The full list of variables is here - Customising templates with visual builder. This field can be kept empty.
Step 2
Final set of fields
Issue details
In this section, one can choose an existing Jira issue or custom field. If one wants to use the Jira issue properties where the AI-generated release notes content is stored, one can use those Jira issues properties too. Read Save release notes without Jira fields using issue properties for more details.
Field 1 - In image we have selected a Jira issue property field to publish AI-generated release notes.
Field 2 - We have picked up Issue type from the selector.
Field 3 - Here you can select Status category
Step 3
Choose look & feel related configurations.
In the right section, manager the look and feel related configuration. Here one can configure the Widget mode and designs.
Widget mode
Read more about widget modes here - Release page & Widget templates & widget modes | Widget modes
Design tab
Show default launcher - This toggle identifies whether the widget launcher is available on-screen by default. If disabled, the launcher won’t be displayed until made visible by another action.
Widget launcher label - e.g. Release notes. This is what the button text will be, to open/close the widget.
Widget launcher button size - Small, Medium, Large
Rest of the configurations deal with the look & feel of the widget
Widget content
In the Widget content a JQL is defined that determines what data is populated within the widgets. Every time the widget action is triggered, it will look at the JQL & pull out the relevant issues. Similar to how the JQL section is configured, you can use variables in this text box.
Once the JQL is added, click anywhere outside of the box & or will be displayed to convey the correctness of the JQL.
A sample JQL that can be used -
Project = ARN AND issueType = “New Feature” AND fixVersion = “[versionName]”
Embed code
Once all the mandatory information is filled in & Save button is clicked - the Embed code becomes available.
Step 4
Widget content
This is the JQL similar to what you use within ARN templates' JQL section. Just use the default one for now.
Step 5
Click on Save, let the page reload.
Now click on the Embed tab. This is what it will look like.
Step 6
Let us test whether the embed code works
Copy the code. And then head over to https://codepen.io/pen/. In there, paste the copied code into HTML section. In a few seconds, the widget should appear in the preview section. Although it appears, it doesn’t have any release-related data yet.
Step 7
Now create a manual rule & insert widget action inside of it
Step 8
Now run the manual rule by providing it with the relevant version name
Step 9
Let us see the final output!
After running the rule, wait for about 30 seconds & go back to the codepen tab. Refresh the page, and paste the code again into the HTML area. Release notes will now be available within the widget.
On this page |
---|
|