-
Notifications
You must be signed in to change notification settings - Fork 98
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
TypeError: Cannot read property 'map' of undefined #24
Comments
Until they add proper support for pull_request, you can workaround like so:
|
FYI You can workaround this bug by setting an empty string for the from input: - uses: atlassian/[email protected]
with:
string: ${{ github.event.pull_request.title }}
from: "" |
Hi All,
Is this a valid way to fetch PR object's data? I want to fetch the PR number, title, and description. - name: Find in commit messages
uses: atlassian/gajira-find-issue-key@master
with:
from: commits ${{ github.event.pull_request.number }}
${{ github.event.pull_request.title }}
${{ github.event.pull_request.description }} Thanks in advance. |
Any hope to see a fix ? |
Having this problem when trying to get the ID from commits when PR is merged. The variables used by this action are blank in this context. As I fix I did the following which gets the ID from the PR's branch: - uses: atlassian/[email protected]
id: find_jira_issue
with:
string: ${{ github.head_ref }} You may be able to do the same with commits via |
Any hope to see a fix ? |
When I try to use this action with
pull_request
I receive this error
The text was updated successfully, but these errors were encountered: