# How Engineering and DevOps can work together

This walkthrough demonstrates how DuploCloud connects your existing engineering workflow — from a Jira ticket, through AI-assisted infrastructure provisioning, to a merged GitHub pull request — without leaving your tools.

***

## The Scenario

An engineer needs to create storage for a new analytics feature. They raise a Jira ticket and assign it to the DevOps team.

![Product demo introduction](/files/4wLlGOPSDyhdxH93Ko83)

***

## Step 1 — Create a Jira Ticket

The engineer creates a Jira ticket describing the request.

![Jira ticket created](/files/nX6WnI6XDGf44jq3hbSm)

They add a description: *"We need to create new storage for our order service analytics feature"* and assign it to the DevOps team.

![Jira ticket description](/files/Ew1ixixMydO7CqUJrt9O)

***

## Step 2 — Create a DuploCloud Ticket

The DevOps engineer picks up the Jira ticket and creates a corresponding ticket inside DuploCloud to begin working on it.

![DuploCloud ticket created](/files/FDZouZROS6oeWHwQFCrT)

***

## Step 3 — Agent Fetches Ticket Details

The DuploCloud agent automatically fetches all details from the linked Jira ticket.

![Agent fetches Jira ticket details](/files/LN71TqIbgtV871HUIzQW)

Since the task description is not fully specified, the agent identifies gaps and suggests clarification questions before proceeding.

![Agent suggests clarification questions](/files/GgT6o4sjDmMYtRxEX85c)

***

## Step 4 — Post Questions to Jira

The DevOps engineer reviews the suggested questions and approves them. DuploCloud automatically posts all questions back into the original Jira ticket.

![Questions posted to Jira](/files/FcYK6OwjWWpwpQtaEFRz)

Switching over to Jira confirms all questions are now visible on the ticket.

![Jira showing questions from DevOps](/files/MnwuQXPX4begubIGnVpS)

***

## Step 5 — Engineer Answers in Jira

The engineer reviews the questions and fills in the answers directly in Jira:

* S3 bucket, \~100 MB
* Production AWS environment
* Write-heavy, low-latency, 90-day data retention
* Used by the order service team

![Engineer filling answers in Jira](/files/EWIyBWVVCcoqwa9fzrd7)

![Engineer submits answers](/files/pBLcxcDV8AxL3ZBTVB5U)

***

## Step 6 — Back in DuploCloud: Check for Updates

The DevOps engineer returns to DuploCloud and asks the agent if there are any updates. The agent checks the Jira ticket and reports back.

![DuploCloud checking for Jira updates](/files/MbTNDLTSLtu8YWBd177S)

The agent confirms the engineer has responded with answers to all the questions. The task can now proceed.

![Agent retrieves answers from Jira](/files/W4qbG6tbvjc6K14NQajG)

***

## Step 7 — Write Terraform and Create a Pull Request

The DevOps engineer asks the agent to write the Terraform code for the task and open a pull request on GitHub.

![Asking agent to write Terraform and create PR](/files/Fr2H7Gn7RNXpfMui9WFq)

The agent completes the task autonomously.

![Task completed](/files/6yXmm5EK4iCzw3iI0Vcx)

***

## Step 8 — Verify on GitHub

Switching to GitHub confirms a pull request has been created. The branch contains all the files generated by the agent.

![GitHub branch with Terraform files](/files/Glo0Fj8KZ4dOuDfwNuAo)

***

## Step 9 — Jira Updated Automatically

Back in Jira, the ticket has been automatically updated with a link to the pull request — closing the loop without any manual steps.

![Jira ticket updated with PR link](/files/Xn8cJckZIbZICkV6clXe)

***

## Bonus — Works From Slack Too

The entire workflow can be initiated from Slack. The DevOps engineer can start a session with DuploCloud via the Duplo Slackbot and complete tasks without ever leaving Slack.

![Slack integration](/files/v6g4MFfODniGbx0rabJu)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.duplocloud.com/docs/common-use-cases/how-engineering-and-devops-can-work-together.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
