Closed yu-tomori closed 1 year ago
Hello Friends 👋
The day has finally come 🎉 ! As we have alluded to in a few spots in this repository, we have been working on a new integration for Jira with CircleCI to replace this outdated orb which has historically been difficult for us to update. Today we are excited to announce Jira Integration V2 is finally LIVE!
New Docs: https://circleci.com/docs/jira-plugin/ Orb v2: https://circleci.com/developer/orbs/orb/circleci/jira Atlassian Forge App: https://github.com/CircleCI-Public/circleci-for-jira
Orb version
1.3.1
What happened
I use the orb to notify deployment of JIRA Issue to our JIRA project. I've noticed that most Jira issues are missing deployment notifications. According to the source code, the notify command access this endpoint, get the commit messages in the field
all_commit_details
, and parse it to get the JIRA issue key. I accessed the endpoint in my local(the masked response posted below), and noticed theall_commit_details
contains only latest 3 commits. This seems to cause the problem that the most Jira issues are missing deployment notification.Expected behavior
We should find a way to get all commit messages related to GitHub Pull Request, and all Jira Issue successfully get deployment notification.
Considerations
CircleCI API v1 is deprecated and, we should replace it to v2. But, I couldn't find any fields in v2 endpoint for all_commit_details.