{
  "cloud": true,
  "rules": [
    {
      "id": 6,
      "name": "Review related requests",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-24",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-21",
          "component": "BRANCH",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "jira.issue.related",
          "value": {
            "relatedType": "linked",
            "jql": "",
            "linkTypes": [],
            "onlyUpdatedIssues": false
          },
          "children": [
            {
              "id": "fixture-19",
              "component": "ACTION",
              "parentId": "fixture-21",
              "conditionParentId": null,
              "schemaVersion": 10,
              "type": "jira.issue.edit",
              "value": {
                "operations": [
                  {
                    "field": {
                      "type": "ID",
                      "value": "summary"
                    },
                    "type": "SET",
                    "value": "Internal test example"
                  }
                ],
                "advancedFields": null,
                "sendNotifications": false
              },
              "children": [],
              "conditions": []
            },
            {
              "id": "fixture-20",
              "component": "ACTION",
              "parentId": "fixture-21",
              "conditionParentId": null,
              "schemaVersion": 1,
              "type": "codebarrel.action.log",
              "value": "StepBudget fixture",
              "children": [],
              "conditions": []
            }
          ],
          "conditions": []
        },
        {
          "id": "fixture-22",
          "component": "CONDITION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 3,
          "type": "jira.issue.condition",
          "value": {
            "selectedField": {
              "type": "ID",
              "value": "priority"
            },
            "comparison": "EQUALS",
            "compareValue": {
              "type": "NAME",
              "value": "High"
            }
          },
          "children": [],
          "conditions": []
        },
        {
          "id": "fixture-23",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "codebarrel.action.log",
          "value": "StepBudget fixture",
          "children": [],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": true,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 3,
      "name": "Update linked work items",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-10",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-9",
          "component": "BRANCH",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "jira.issue.related",
          "value": {
            "relatedType": "linked",
            "jql": "",
            "linkTypes": [],
            "onlyUpdatedIssues": false
          },
          "children": [
            {
              "id": "fixture-7",
              "component": "ACTION",
              "parentId": "fixture-9",
              "conditionParentId": null,
              "schemaVersion": 10,
              "type": "jira.issue.edit",
              "value": {
                "operations": [
                  {
                    "field": {
                      "type": "ID",
                      "value": "summary"
                    },
                    "type": "SET",
                    "value": "Internal test example"
                  }
                ],
                "advancedFields": null,
                "sendNotifications": false
              },
              "children": [],
              "conditions": []
            },
            {
              "id": "fixture-8",
              "component": "ACTION",
              "parentId": "fixture-9",
              "conditionParentId": null,
              "schemaVersion": 1,
              "type": "codebarrel.action.log",
              "value": "StepBudget fixture",
              "children": [],
              "conditions": []
            }
          ],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 9,
      "name": "Scheduled request review",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-38",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.jql.scheduled",
        "value": {
          "schedule": {
            "method": "BASIC",
            "rate": 1,
            "rateInterval": 3600
          },
          "jql": "project = DEMO",
          "executionMode": "jql",
          "onlyUpdatedIssues": false
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-37",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "codebarrel.action.log",
          "value": "StepBudget fixture",
          "children": [],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 7,
      "name": "Iterate over example values",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-28",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-27",
          "component": "BRANCH",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "jira.smart.values.branch",
          "value": {
            "name": {
              "type": "FREE",
              "value": "item"
            },
            "query": {
              "type": "SMART",
              "value": "{{issue.labels}}"
            }
          },
          "children": [
            {
              "id": "fixture-25",
              "component": "ACTION",
              "parentId": "fixture-27",
              "conditionParentId": null,
              "schemaVersion": 1,
              "type": "codebarrel.action.log",
              "value": "StepBudget fixture",
              "children": [],
              "conditions": []
            },
            {
              "id": "fixture-26",
              "component": "ACTION",
              "parentId": "fixture-27",
              "conditionParentId": null,
              "schemaVersion": 10,
              "type": "jira.issue.edit",
              "value": {
                "operations": [
                  {
                    "field": {
                      "type": "ID",
                      "value": "summary"
                    },
                    "type": "SET",
                    "value": "Internal test example"
                  }
                ],
                "advancedFields": null,
                "sendNotifications": false
              },
              "children": [],
              "conditions": []
            }
          ],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 2,
      "name": "Filter by priority and summary",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-6",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-3",
          "component": "CONDITION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 3,
          "type": "jira.issue.condition",
          "value": {
            "selectedField": {
              "type": "ID",
              "value": "priority"
            },
            "comparison": "EQUALS",
            "compareValue": {
              "type": "NAME",
              "value": "High"
            }
          },
          "children": [],
          "conditions": []
        },
        {
          "id": "fixture-4",
          "component": "CONDITION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "jira.comparator.condition",
          "value": {
            "first": "{{issue.summary}}",
            "second": "Ejemplo",
            "operator": "CONTAINS"
          },
          "children": [],
          "conditions": []
        },
        {
          "id": "fixture-5",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "codebarrel.action.log",
          "value": "StepBudget fixture",
          "children": [],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 1,
      "name": "Log a new request",
      "state": "ENABLED",
      "trigger": {
        "id": "fixture-2",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-1",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "codebarrel.action.log",
          "value": "StepBudget fixture",
          "children": [],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    },
    {
      "id": 11,
      "name": "Disabled example rule",
      "state": "DISABLED",
      "trigger": {
        "id": "fixture-14",
        "component": "TRIGGER",
        "parentId": null,
        "conditionParentId": null,
        "schemaVersion": 1,
        "type": "jira.issue.event.trigger:created",
        "value": {
          "eventKey": "jira:issue_created",
          "issueEvent": "issue_created"
        },
        "children": [],
        "conditions": []
      },
      "components": [
        {
          "id": "fixture-11",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 10,
          "type": "jira.issue.edit",
          "value": {
            "operations": [
              {
                "field": {
                  "type": "ID",
                  "value": "summary"
                },
                "type": "SET",
                "value": "Internal test example"
              }
            ],
            "advancedFields": null,
            "sendNotifications": false
          },
          "children": [],
          "conditions": []
        },
        {
          "id": "fixture-12",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "jira.create.variable",
          "value": {
            "name": {
              "type": "FREE",
              "value": "example"
            },
            "query": {
              "type": "SMART",
              "value": "{{issue.key}}"
            }
          },
          "children": [],
          "conditions": []
        },
        {
          "id": "fixture-13",
          "component": "ACTION",
          "parentId": null,
          "conditionParentId": null,
          "schemaVersion": 1,
          "type": "codebarrel.action.log",
          "value": "StepBudget fixture",
          "children": [],
          "conditions": []
        }
      ],
      "canOtherRuleTrigger": false,
      "created": 1788912000000,
      "updated": 1788912000000
    }
  ]
}
