You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
Describe the bug
Using a lowercase Rally Story Id in the pull request body is resulting in an exception.
"Error occurred while validating Rally Artifacts: Error: Not able to parse artifact type: undefined"
To Reproduce
Steps to reproduce the behavior:
Create a new PR
in the body of the PR add a Rally story usxxxx (lower case us)
check the Rally integration details
see the error "Error occurred while validating Rally Artifacts: Error: Not able to parse artifact type: undefined"
Expected behavior
If this is considered an invalid Rally Story id, we should get a validation failed result rather than an exception.
The other option is making the check case insensitive.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If you edit the PR body, and change the story id to upper case, this fixes the issue.
Here's my test config file:
---
# Name of the GitHub Check
checksName: integrations/rally
# Check PR Body for Rally story/defect (true | false)
checkPRBody: true
# Check PR Title for Rally story/defect (true | false)
checkPRTitle: false
# Check all commit messages for a Rally story/defect (true | false)
checkCommitMessages: false
# Set Rally Flow State to Complete on merge if the PR Body contains "/completes <DEFECT/STORY ID>"
mergeOnPRBody: true
# Comment on the PR in addition to the check message? (true | false)
commentOnPull: false
rally:
server: https://rally1.rallydev.com
workspace: xxxxxxxxxxx
# Which projects this repo will link to.
projects:
- TEST Squad 1
- TEST Squad 2
# List of valid Rally objects to check
objects:
- defect
- task
- userstory
- story
# List of Rally states that an issue must be in in order to pass
states:
- Ready
- Defined
- In-Progress
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖 label or comment on the issue.
Describe the bug
Using a lowercase Rally Story Id in the pull request body is resulting in an exception.
"Error occurred while validating Rally Artifacts: Error: Not able to parse artifact type: undefined"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If this is considered an invalid Rally Story id, we should get a validation failed result rather than an exception.
The other option is making the check case insensitive.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If you edit the PR body, and change the story id to upper case, this fixes the issue.
Here's my test config file:
The text was updated successfully, but these errors were encountered: