Browse Source

chore: Simplify summary and description assignment in Jira sync workflow

David Höck 8 months ago
parent
commit
23513b8fb8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/sync-jira.yml

+ 2 - 2
.github/workflows/sync-jira.yml

@@ -40,8 +40,8 @@ jobs:
           fi
           fi
           
           
           # Prepare the data with error checking
           # Prepare the data with error checking
-          SUMMARY=$(jq -Rs . <<<"${{ github.event.issue.title }}" || { echo "Error processing summary"; exit 1; })
-          DESC=$(jq -Rs . <<<"Imported from GitHub: $GH_URL" || { echo "Error processing description"; exit 1; })
+          SUMMARY="${{ github.event.issue.title }}"
+          DESC="Imported from GitHub: $GH_URL"
           
           
           # Create the search request body
           # Create the search request body
           SEARCH_BODY=$(jq -n --arg url "$GH_URL" --arg proj "$PROJECT_KEY" '
           SEARCH_BODY=$(jq -n --arg url "$GH_URL" --arg proj "$PROJECT_KEY" '