Skip to end of banner
Go to start of banner

Event-based actions - issue links scope

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

The following use cases use JQL Search Extensions (JSE) issue links keywords to set the scope for event-base actions in JMWE.

On this page:

For issues linked to bugs, comment on the linked ticket when resolved

JSE keyword

linkedIssueType

JMWE event

Issue Resolved

JMWE action

Comment Issues

Method

  1. In JQL Extended Search, perform a search for issues linked to bugs, for example:

    linkedIssueType = Bug

     You can refine this by adding other criteria if needed.

    JSE-JMWE-linked-issue-type-bug.png
  2. Save the query as a filter. For this example, the filter is called Issues linked to bugs.

  3. In JMWE, create or edit an event-based action to use the Issue Updated event.

  4. Set the scope to Only apply to issues that match a JQL filter.

  5. Click the JQL input box, then search using the filter name, for example, filter="Issues linked to bugs".

  6. Click Save. The filter is added to your event-based action configuration.

  7. Add the Comment issues post function.

  8. Save the action.

    JSE-JMWE-Issues-linked-to-bugs-config.png

    Now, when an issue is resolved, issues meeting the JQL filter criteria are updated with the comment configured for step 7. You can apply the same use case to other events, for example, Issue Deleted.

When an issue moves to In Progress, change any linked issue in the To Do status to In Progress

JSE keyword

linkedIssueStatus

JMWE event

Issue Transitioned

JMWE action

Transition Issue

Method

  1. In JQL Extended Search, perform a search for child issues matching a given query, for example

    linkedIssueStatus = "To Do"

     

    JSE-JMWE-scope-of-children-of.png
  2. Save the query as a filter. For this example, the filter is called Linked issues in To Do.

  3. In JMWE, create or edit an event-based action to use the Issue Transitioned event.

  4. Set the scope to Only apply to issues that match a JQL filter.

  5. Click the JQL input box, then search using the filter name, for example, filter="Linked issues in To Do".

  6. Click Save. The filter is added to your event-based action configuration.

  7. Add the Transition issues post function.

  8. Save the action.

    JSE-JMWE-transition-issue-with-JQL-scope.png

    Now, when an issue is transitioned to IN PROGESS linked issues meeting the JQL filter criteria are transitioned from TO DO to IN PROGRSS .

 

Add label

  • No labels