Getting Started with SkyBuild: AutoNode WinFlow
Welcome to the SkyBuild framework. This guide will walk you through setting up the connection between Jira Service Management (JSM) and your Windows Infrastructure.
Prerequisites
Before you begin, ensure you have the following:
- Jira Service Management (Cloud or Data Center): Admin access to create Assets and Automation rules.
- Orchestration Server: A Windows host with PowerShell 5.1+ and network access to your hypervisor (Hyper-V/VMware/Azure).
- Atlassian API Token: For the script to communicate back to Jira.
SkyBuild relies on Jira Assets as the single source of truth.
- Create Object Schema: Navigate to Assets and create a new schema named
SkyBuild.
- Define Object Types: Create the following hierarchy:
- Virtual Machine: Attributes:
Hostname (Key), CPU, RAM, Status.
- OS Image: Attributes:
ImageName, Version, Path.
- Link Objects: Add an attribute to
Virtual Machine of type “Referenced Object” pointing to OS Image.
Step 2: Set Up Jira Automation
This “brain” triggers the WinFlow engine when a request is approved.
- Trigger: Issue transitioned to “Approved”.
- Action: Send web request (Webhook).
- Webhook URL: The listener URL of your orchestration server.
- HTTP Header: Authorization:
Basic <Base64_Encoded_Credentials>.
- Custom Payload (JSON):
```json
{
“issue_key”: “”,
“hostname”: “”,
“cpu”: “”,
“ram”: “”,
“os_image”: “”
}