Macro configuration

To start macro configuration, open your page in edit mode.

Add a STAGIL macro to the page or select existing. Click on the macro to see the ‘Edit’ button.

Macro, selected with a click, in the page editor

Click the ‘Edit’ button to open the ‘Edit macro’ dialogue.

When first added to the page, the macro will be empty, with no issues displayed.

Adding issues to the macro: scope configuration

Issues displayed in the macro can be defined and added by setting up the scope configuration.

Scope configuration panel in ‘Edit macro’ dialogue

JQL scope

JQL scope. Setting up a JQL scope will return issues within one JQL query. The query is predefined in macro edit dialogue:

Manual scope

Manual scope also allows to return issues from a JQL query. However, the JQL query is not pre-configured in the same way as for the JQL scope. Instead, users can add issues returned by multiple JQL queries. This can be done either from the ‘Edit macro’ dialogue or directly from the page view.
Manual scope has a limit of 750 issues.

 

Manual scope: removing issues

To remove a single issue from the table, hover over the right end of the issue table to reveal a three-dot icon. Click the button to open the ‘Actions’ menu with an option to remove the issue from the table. Issues can be removed by users directly from the page view in the ‘Edit macro’ dialogue.

Confluence tasks

This scope allows us to get a list of all Confluence tasks in the instance. The tasks table is displayed with 4 default columns: Description, Assignee, Due Date and Page (parent page of the task).

Default values for the ‘Create new issue’ dialogue

When users create a new issue from macro, they see and edit the ‘Create issue’ dialogue. The ‘Default field values’ configuration field allows the pre-population of certain fields with a particular value.

To configure, select a custom field in the ‘Default field values’ drop-down.

Then, click on the icon. In the pop-up tab, you can set default values for each selected field.

Table columns

In the issue table, columns represent the issue fields. A wide range of system and custom fields is available to add, view and edit via our macro. See https://stagil.atlassian.net/wiki/spaces/SJIC/pages/520093749 for the list of supported fields.

To add a column, select a custom field in the ‘Column display’ drop-down list. The added field will be immediately available in the preview.

Table pagination

In the ‘Issues per page’ configuration field, users can determine the number of issues that will appear on the screen before pagination is activated.

Default ordering

In the 'Order by' configuration field, users have the option to choose a custom field to sort table rows based on custom field values.

Sorting direction

A checkbox ‘Reverse order’ gives an option to define the direction of sorting.

To sort issues in ascending order, leave the box unchecked. Check the box to sort issues in descending order.

This configuration is available only for a JQL scope.

© 2023, STAGIL