Skip to content
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

Adding GHA workflow to sync with Jira #23286

Merged
merged 2 commits into from
Jun 11, 2024
Merged

Conversation

mmcquillan
Copy link
Collaborator

This is a GHA workflow to allow labeling individual GitHub issues to synchronize into Jira.

@mmcquillan mmcquillan requested a review from a team June 10, 2024 17:54
@mmcquillan mmcquillan self-assigned this Jun 10, 2024
Comment on lines +49 to +55
- name: Search
if: github.event.action != 'opened'
id: search
uses: tomhjp/gh-action-jira-search@04700b457f317c3e341ce90da5a3ff4ce058f2fa # v0.2.2
with:
# cf[10089] is Issue Link (use JIRA API to retrieve)
jql: 'issuetype = "${{ steps.set-ticket-type.outputs.TYPE }}" and cf[10089] = "${{ github.event.issue.html_url || github.event.pull_request.html_url }}"'
Copy link
Member

Choose a reason for hiding this comment

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

What's this do?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This looks up the Jira type of "github" so it comes across as a customer Jira type instead of a traditional bug or story.

From linting, quoting the env var

Co-authored-by: Tim Gross <[email protected]>
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM!

@mmcquillan mmcquillan merged commit 7f1665d into main Jun 11, 2024
19 of 20 checks passed
@mmcquillan mmcquillan deleted the mmcquillan/jiraworkflow branch June 11, 2024 16:52
Copy link

github-actions bot commented Jan 4, 2025

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants