Link issues to current issue
Overview
The Link issues to current issue post function allows you to link the current issue to other issues when a workflow transition is executed.
Configuration
Define a JQL query in the Issues by JQL field (e.g. “type = Task and resolution = Rejected”). All issues matching the JQL will be linked.
Set the type of link that will be used for issue linking in the Link type field
Set the direction of the link that will be used for issue linking in the Link direction field
Select if the post function should be executed by the current or another user in the Action executor field (see User Permissions below)
If you have selected Current user option, the post function will be executed by the user making the workflow transition
If you have selected Another user option, provide a user in the User field, so that the post function will be executed by this user
Activate the JQL condition option and define the JQL query that has to be met by the issue in order to execute the post function (e.g. “type = Bug and Priority = Blocker”)
Activate the Executor condition option if you want the post function to be executed only if the user is or isn’t in a certain Jira user group or project role
Select if The executor has to be or can’t be a member of a certain Jira user group or project role
Select a Jira user group in the Group field if Group was set in the member of a field
Select a project role in the Project role field if Project role was set in the member of a field
Activate the Fire event option if you want Jira to fire the ISSUE_UPDATED event
Activate the Send notification option if you want Jira to send the notification according to the configured notification scheme. The option requires the Fire event option to be enabled in order to send the notification
User Permissions
The user set as Action executor in point 4 needs to have the Browse Projects and Link Issues permissions in the project of the issue in order to execute the post function.
Use cases
At the end of a period of time (e.g. a month) link all bugs to the issue that will serve as a container for all bugs created in this period of time