Commit 18e498c6ca0f

Vincent Demeester <vincent@sbr.pm>
2026-03-16 13:46:35
fix: migrate jira config to Atlassian Cloud
Updated passage token path from per-host keys to the shared redhat/issues/atlassian/token after Red Hat migrated from on-premises Jira to Atlassian Cloud. Also updated jayrat config for the new server and API.
1 parent 20a1040
Changed files (9)
dots
systems
kyushu
okinawa
dots/config/claude/skills/Jira/README.md
@@ -204,14 +204,14 @@ Key settings:
 ### API Token
 Managed via passage, automatically injected by Nix wrapper:
 ```bash
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 ```
 
 ### Wrapper Location
 `/home/vincent/src/home/systems/kyushu/home.nix`:
 ```nix
 jira-wrapped = pkgs.writeShellScriptBin "jira" ''
-  export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/token/kyushu)
+  export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/atlassian/token)
   exec ${pkgs.jira-cli-go}/bin/jira "$@"
 '';
 ```
@@ -278,7 +278,7 @@ Document frequently-used JQL queries in notes
 ### API Token Issues
 ```bash
 # Verify token
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 
 # Test connection
 jira me
dots/config/claude/skills/Jira/SKILL.md
@@ -102,7 +102,7 @@ Save time with these common queries:
 ### API Token
 Managed automatically via Nix wrapper using passage:
 ```bash
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 ```
 
 ## Jira CLI Quick Reference
@@ -245,7 +245,7 @@ User: "Create a bug for the failing CI tests"
 ## Troubleshooting
 
 ### Authentication Issues
-- Verify API token in passage: `passage show redhat/issues/token/kyushu`
+- Verify API token in passage: `passage show redhat/issues/atlassian/token`
 - Check config: `cat ~/.config/.jira/.config.yml`
 - Test connection: `jira me`
 
dots/config/jayrat/config.yaml
@@ -1,10 +1,10 @@
 general:
-  jira_server: "issues.redhat.com"
+  jira_server: "redhat.atlassian.net"
   jira_user: "vdemeest@redhat.com"
-  jira_password: "passage::redhat/issues/token/kyushu"
-  api_version: "2"
-  auth_method: bearer
-  insecure: true
+  jira_password: "passage::redhat/issues/atlassian/token"
+  api_version: "3"
+  auth_method: basic
+  insecure: false
 
 custom_fields:
   - name: Git PR
dots/pi/agent/extensions/jira/index.ts
@@ -9,7 +9,7 @@
  *
  * Configuration:
  *   ~/.config/.jira/.config.yml - Jira CLI config
- *   passage show redhat/issues/token/kyushu - API token
+ *   passage show redhat/issues/atlassian/token - API token
  *
  * Requirements:
  *   - jira CLI: go install github.com/ankitpokhrel/jira-cli/cmd/jira@latest
dots/pi/agent/extensions/jira/QUICK-START.md
@@ -253,7 +253,7 @@ jira me
 cat ~/.config/.jira/.config.yml
 
 # Check token
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 ```
 
 ### Network errors?
dots/pi/agent/extensions/jira/README.md
@@ -61,7 +61,7 @@ Set up via passage (or environment variable):
 
 ```bash
 # Via passage (recommended)
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 
 # OR via environment variable
 export JIRA_API_TOKEN="your-token-here"
@@ -373,7 +373,7 @@ The extension provides helpful error messages:
 ### Authentication Error
 ```
 Authentication failed. Check API token:
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 ```
 
 ### Network Error
@@ -515,7 +515,7 @@ cat ~/.config/.jira/.config.yml
 jira me
 
 # Check token
-passage show redhat/issues/token/kyushu
+passage show redhat/issues/atlassian/token
 ```
 
 ### Network Errors
dots/pi/agent/extensions/jira/utils.ts
@@ -267,7 +267,7 @@ export function isNotFoundError(stderr: string): boolean {
  */
 export function getErrorMessage(stderr: string, action: string): string {
 	if (isAuthError(stderr)) {
-		return "Authentication failed. Check API token:\npassage show redhat/issues/token/kyushu";
+		return "Authentication failed. Check API token:\npassage show redhat/issues/atlassian/token";
 	}
 
 	if (isNetworkError(stderr)) {
systems/kyushu/home.nix
@@ -2,7 +2,7 @@
 let
   # Wrapper for jira-cli that injects API token from passage
   jira-wrapped = pkgs.writeShellScriptBin "jira" ''
-    export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/token/kyushu)
+    export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/atlassian/token)
     exec ${pkgs.jira-cli-go}/bin/jira "$@"
   '';
 in
systems/okinawa/home.nix
@@ -9,7 +9,7 @@
 let
   # Wrapper for jira-cli that injects API token from passage
   jira-wrapped = pkgs.writeShellScriptBin "jira" ''
-    export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/token/okinawa)
+    export JIRA_API_TOKEN=$(${pkgs.passage}/bin/passage show redhat/issues/atlassian/token)
     exec ${pkgs.jira-cli-go}/bin/jira "$@"
   '';
 in