Context

Elements Publish to Confluence recipes are highly customizable tools that can fit many specific use cases. Admins can create as many recipes as they need for any given situation, and make them available to their users directly from the relevant Jira issues, and no other issue.

This way, Jira administators know their recipes are used in the appropriate context, no matter how specific it may be.

Tutorial

In this example, we want a recipe to only be available on issues with at least the priority "High".

This guide explains how to use JQL filters to get complete control over where recipes can be used. 

Prerequisites

A recipe called "Add to Knowledge Base" has been created and activated.

Configuration steps

1 - As a Jira administrator, go to the "Elements Publish to Confluence" administration and click on Recipes in the navigation bar.

2 - In the Recipes listing page, select "Add to Knowledge Base" in the Active Recipes list.

3 - In the Recipe configuration page, click on the Source tab.

4 - In the "Source issues" section, use the Additional filter text area to add the following JQL filter : priority >= High

5 - Click on the Save button.

Result

With this setting, when users are working on any issue with at least the priority "High", they will be able to use the "Add to Knowledge Base" recipe directly from the "Elements Publish to Confluence" action menu of the issue. The recipe is unavailable for all other issues.

Need more?
All the settings available on the Source configuration page can be used together to create all sorts of availability criteria.