Skip to main content
Skip table of contents

Jira Automation

Use the Edit Apwide Booking action in Jira Automation to automatically update the booking information for your work items. This action edits existing booking values such as start date, end date, and resource name.

You can use it to keep resource bookings synchronized with changes in related work items. For example, if a parent work item changes status (e.g., a repair request), all linked booking tickets can be updated automatically.


Requirements

  • You must have access to Jira Automation.

  • You should be familiar with standard Jira Automation rule creation and smart values.


Add the Edit Apwide Booking Action

  1. Create or edit an automation rule in Jira.

  2. Select how the rule should be triggered (for example, Manually triggered).

  3. Select Add component or Add to branch.

  4. Search for and select Edit Apwide Booking.

  5. Configure the fields:

  • Work item: The issue whose booking you want to update. Example: {{issue.key}}

  • Booking start: New booking start date. Supports smart values. Example: {{now.plusBusinessDays(9)}}

  • Booking end: New booking end date. Supports smart values. Example: {now.plusBusinessDays(15)}}

  • Resource name: The resource assigned to the booking. Must exist in Apwide Booking.

image-20251119-120711.png

Example of Edit Apwide Booking Jira Automation Action

Info
If conflict detection or auto-approval is enabled in your Booking Flow, you may need to transition the work item after the booking changes.
Use a separate Transition work item action in the rule. This step is not part of Edit Apwide Booking itself.


Tracking Changes

After the rule runs, you can verify what happened by:

  • Reviewing the automation rule log.

  • Checking issue activity in the work item.


Use Case Example

A company manages shared vehicles. When a car is marked for repair in a parent work item, all booking requests linked to that car must be updated. A Jira Automation rule is triggered when the repair work item changes status. The rule uses Edit Apwide Booking to automatically modify all related booking requests, for example by moving their booking dates. This ensures no one books a car that is unavailable, without needing manual updates.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.