Skip to content

Updating Jira Integration Round 3 #25737

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mmcquillan
Copy link
Collaborator

Continued jira-gh integration

@mmcquillan mmcquillan requested review from a team as code owners April 23, 2025 20:24
@@ -37,7 +37,7 @@ jobs:
description: "${{ github.event.issue.body || github.event.pull_request.body }}\n\n_Created in GitHub by ${{ github.actor }}._"
# customfield_10089 is "Issue Link", customfield_10371 is "Source" (use JIRA API to retrieve), customerfield_10091 is "Team (R&D)
extraFields: '{ "customfield_10089": "${{ github.event.issue.html_url || github.event.pull_request.html_url }}",
"Team[Team]": "72e166fb-d26c-4a61-b0de-7a290d91708f",
"Team": "72e166fb-d26c-4a61-b0de-7a290d91708f",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to be the structure of the thing we're targeting, based on an API response I got from a newly created issue:

    "customfield_10001": {
      "id": "72e166fb-d26c-4a61-b0de-7a290d91708f",
      "name": "Nomad Minor",
      "avatarUrl": "",
      "isVisible": true,
      "isVerified": false,
      "title": "Nomad Minor",
      "isShared": true
    },

I have no idea how much of that we need to specify here, but I bet we can experiment using the Jira API directly, then port that over to this workflow.

the github action that this uses
https://github.com/tomhjp/gh-action-jira-create/blob/main/README.md#inputs

points to the jira api:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants