Enterprise · Jira and Jev AI
Jira end to end
Moving CHK-142 through In Review, Approved and Done requests, approves and deploys express-checkout in Production, and FluxGate reports each step back on the ticket.
Before you start
- The Jira integration from Jira setup is ready: the three status rules exist, the alias
prodmaps toProduction, and Production is listed under Jira approves in. The public tunnel is running and the Jira flowFluxGate releaseis enabled. express-checkouthas Development and Staging deployed, and Production shows DEPLOYMENT REJECTED. A rejected stage can be requested again.- Sign in as
adminSystem admin and select the team Checkout. Keep Jira next to FluxGate so you can watch both. In Jira,CHK-142is in To Do and has no labels.
How a ticket drives a release
Three status changes on one ticket take express-checkout to Production. FluxGate acts only on features that are linked to the ticket, and only in the environments the ticket names through its labels.
| Jira moves the ticket to | The rule runs | What happens in FluxGate |
|---|---|---|
| In Review | Request | A pending approval request appears under your approval policy. |
| Approved | Approve | FluxGate closes the request as approved by Jira. No person votes. |
| Done | Deploy | The approved stage is deployed. |
The request is the same approval request a person would create, under the same policy. Jira only starts it. Nothing ships when the ticket reaches Approved: the stage reads DEPLOYMENT APPROVED until the ticket reaches Done.
Link the ticket and name the environment
- In FluxGate, open
express-checkoutfrom/features. The Overview tab of/features/:idshows the Jira card. - Click Add in the Jira card. Its accessible name is "Add Jira issue".
- In Issue key, type
CHK-142. In Issue URL (optional), type the address of the ticket. The URL turns the key into a link in the card and on the approval card. - Click Link issue. The card lists
CHK-142. - In Jira, open
CHK-142and add the labelprod. Typeprodin Labels and pick the optionprod (New label), or the existingprod. A similar label such asPerf-Test-Prodis a different label and does not map.
Linking needs a system admin or a Team Admin. The label names the environment, and the alias from the setup maps prod to Production. Add the label before the first status change. A ticket with no matching label does nothing.
Linking also writes to Jira. A few seconds after you link, FluxGate can add its web link to the ticket, which lists the current stage of each environment, here with Production as DEPLOYMENT_REJECTED.
Move the ticket
In Review: request
- In Jira, move
CHK-142from To Do to In Review. - In FluxGate, the Approvals pill in the header shows a count. Click it to open
/approvals. The Pending filter shows a new card with theCHK-142badge and the reasonJira status 'In Review'. If the card is late, reload the page: the list refreshes every 30 seconds.
Approved: approve
- In Jira, move
CHK-142to Approved. - In FluxGate, the card leaves Pending. Click Approved. The card shows the green badge
Approved by Jira (CHK-142). If the event carries the Jira user, the display name comes before the key. - Click Details. Under Request context the line
Jira status: Approvedappears. Votes shows the sameApproved by Jiraline instead of a vote, and the card counts0 approvals, because Jira's approval is not a vote. - Open
express-checkoutat/features/:idand click the Stages tab. Production readsDEPLOYMENT APPROVED.
Done: deploy
- In Jira, move
CHK-142to Done. The status list scrolls, so scroll the menu ifDoneis out of sight. - In FluxGate, reload
/features/:idand open Stages. Production readsDEPLOYED.express-checkoutis now deployed in all three environments.
What FluxGate writes back
With write-back on, FluxGate comments on the ticket after each event. The comment lists the outcome of every rule that ran. FluxGate also keeps one web link on the ticket and updates it in place. Comments and links are queued and sent by background jobs, so allow up to about 10 seconds.
- In Jira, refresh
CHK-142. The activity shows comments from FluxGate. The comment for Done readsFluxGate: Jira status 'Done'aboveexpress-checkout · Production: deploy applied. - Find the web link titled
FluxGate: express-checkout · Development DEPLOYED · Staging DEPLOYED · Production DEPLOYED. Click it. FluxGate opens the flag.
Example timeline
| Jira status | FluxGate stage status of Production | Comment FluxGate writes on the ticket |
|---|---|---|
| In Review | DEPLOYMENT_REJECTED to DEPLOYMENT_REQUESTED | FluxGate: Jira status 'In Review' over express-checkout · Production: request applied |
| Approved | DEPLOYMENT_REQUESTED to DEPLOYMENT_APPROVED | FluxGate: Jira status 'Approved' over express-checkout · Production: approve applied |
| Done | DEPLOYMENT_APPROVED to DEPLOYED | FluxGate: Jira status 'Done' over express-checkout · Production: deploy applied |
The flow adds exactly three comments and the refreshed web link. Because Jira made these changes, FluxGate adds no second comment for them. The comments come from the Jira user of the API token you gave to write-back. Human actions in FluxGate, such as an approval by a person, get their own comment, for example Approved for Production by <name>.
Audit the run
- In FluxGate, click Jira in the Settings group to open
/settings/jira. Scroll to the Event log card. - The Events tab lists
Done,ApprovedandIn ReviewforCHK-142, newest first. Each row has the outcome Applied and a stage change such asDEPLOYMENT_APPROVED → DEPLOYED. - Click Outbound. The
commentandremote_linkjobs readsent. - In Jira, open the flow
FluxGate releaseunder Automation and click its audit log. Each run showsSuccess.
The Events tab keeps 30 days of events. Each row shows the time, the issue, the status, the Jira user when sent, the feature, the environment, the action, the outcome and details. If a rule is refused, the reason is in the details. The Outbound tab lists every comment and link that FluxGate sent. A failed one reads dead and has a Retry button.
Good to know
- Jira drives FluxGate here. FluxGate never moves your tickets or edits their fields. It only comments and links, and there is no kill switch from Jira.
- The Approved transition is your Production gate. Limit who can make it in your Jira workflow.
- Deploy works only on an approved stage. If the ticket jumps to Done before Approved, FluxGate refuses with the reason
not approved, changes nothing, and commentsexpress-checkout · Production: deploy refused: not approved. - A freeze window still applies. If the stage is frozen, the rule is refused with
freeze window <name>and Jira cannot override it. - If you link a flag within a minute of earlier activity on it, the ticket can also receive comments for that activity, such as
Approved for Staging by sam, withRef: CHK-142.
Troubleshooting
The ticket moves but nothing happens in FluxGate
Check that the flag is linked to the ticket and that the ticket has the label prod. The Event log says "No rule matched." when no label names an environment. A label that matches no environment is listed as an unknown environment.
No comments or link appear on the ticket
Check that write-back is on and Test connection reports connected as <display name>. Look at the Outbound tab. With write-back off it reads "No outbound jobs yet."
Next
Turn on Jev AI assistance and read an AI risk assessment on an approval request in Jev AI assistance.