Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

On this page:

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printabletrue

...

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:

    Code Block
    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.

...

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

    Code Block
    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

    Status
    colourBlue
    titlein progess
    linked issues meeting the JQL filter criteria are transitioned from
    Status
    titleTo Do
    to
    Status
    colourBlue
    titleIn progrss
    .

...