You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "narrowizard (via GitHub)" <gi...@apache.org> on 2023/02/03 09:22:32 UTC
[GitHub] [incubator-devlake] narrowizard opened a new issue, #4317: [Bug][customize] failed when using irregular custom field name
narrowizard opened a new issue, #4317:
URL: https://github.com/apache/incubator-devlake/issues/4317
### 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 I mapping a jira field to a custom field called `x_field with space`, it failed because SQL error. But I can create a custom field called `x_field with space`.
![image](https://user-images.githubusercontent.com/11383928/216561275-295b18a5-16e6-4a97-b6b5-5602b8db9f76.png)
### What do you expect to happen
Limit name of custom field. Maybe match the regexp `^x_[0-9a-zA-Z_]`
### How to reproduce
Create a pipeline for customize, plan as following
```json
[
[
{
"plugin": "customize",
"subtasks": null,
"options": {
"transformationRules": [
{
"_raw_data_params": "{\"ConnectionId\":1,\"BoardId\":1}",
"_raw_data_table": "_raw_jira_api_issues",
"mapping": {
"x_illegal name": "fields.project",
"x_teams": "fields.customfield_10107"
},
"table": "issues"
}
]
}
}
]
]
```
### Anything else
_No response_
### Version
main
### Are you willing to submit PR?
- [ ] 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] warren830 closed issue #4317: [Bug][customize] failed when using irregular custom field name
Posted by "warren830 (via GitHub)" <gi...@apache.org>.
warren830 closed issue #4317: [Bug][customize] failed when using irregular custom field name
URL: https://github.com/apache/incubator-devlake/issues/4317
--
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