You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/10/27 08:59:17 UTC
[GitHub] [incubator-devlake] thenicetgp opened a new issue, #3595: [Bug][Bitbucket] Bitbucket blueprint need to deal with if refdiffRules is nil
thenicetgp opened a new issue, #3595:
URL: https://github.com/apache/incubator-devlake/issues/3595
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.
### What happened
When we send a post request to http://localhost:4000/api/blueprint, there are some errors.
![img_v2_98662cc5-2823-4db8-af74-13aedf28988g](https://user-images.githubusercontent.com/47466847/198239356-a5c750d3-59ef-4077-8ed5-46c96df8264d.jpg)
![img_v2_0cac75dc-a490-4834-9635-9d62f9727fdg](https://user-images.githubusercontent.com/47466847/198239301-de6932fc-cf58-44c3-92a7-2b07a1d1ad16.jpg)
### What do you expect to happen
Deal with the refdiffRules when it is nil to fix this bug
### How to reproduce
#### Input parameters:
{
"name": "MY BLUEPRINT",
"cronConfig": "0 0 * * *",
"plan": [
[]
],
"settings": {
"version": "1.0.0",
"connections": [
{
"plugin": "bitbucket",
"connectionId": 1,
"scope": [
{
"transformation": {
"IssueStatusTODO": [
"new",
"open"
],
"IssueStatusINPROGRESS": [
"on hold"
],
"IssueStatusDONE": [
"closed"
],
"refdiff": null,
"productionPattern": "",
"deploymentPattern": ""
},
"options": {
"owner": "yujunren",
"repo": "mst-advanced"
},
"entities": [
"CODE",
"TICKET",
"CODEREVIEW",
"CROSS",
"CICD"
]
}
]
}
]
},
"enable": true,
"mode": "NORMAL",
"isManual": true
}
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] klesh closed issue #3595: [Bug][Bitbucket] Bitbucket blueprint need to deal with if refdiffRules is nil
Posted by GitBox <gi...@apache.org>.
klesh closed issue #3595: [Bug][Bitbucket] Bitbucket blueprint need to deal with if refdiffRules is nil
URL: https://github.com/apache/incubator-devlake/issues/3595
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org