mindlesscloud opened a new issue, #5510:
URL: https://github.com/apache/incubator-devlake/issues/5510

   ### 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
   
   An error occurred on creating scope config
   
![img_v2_51a3e537-7e9a-4436-a915-f16585dd2d5g](https://github.com/apache/incubator-devlake/assets/8455907/42c25230-2e3c-445b-a23e-53c0a6ad4ef6)
   
   
   
   ### What do you expect to happen
   
   No error returned
   
   ### How to reproduce
   
   Create a Jira connection, and then post the following JSON to 
http://127.0.0.1:8080/plugins/jira/connections/{connectionId}/scope-configs, 
the `{connectionId}` should be replaced with the actual connection ID
   
   ```json
   {
       "name": "JIRA_TEST_SCOPE_CONFIG_1",
       "entities": [
           "TICKET",
           "CROSS"
       ],
       "remotelinkRepoPattern": [
           {
               "pattern": 
"https://gitlab.com/{namespace}/{repo_name}/-/commit/{commit_sha}";,
               "regex": 
"https://gitlab.com/(?P<namespace>\\S+)/(?P<repo_name>\\S+)/-/commit/(?P<commit_sha>\\w{40})"
           }
       ]
   }
   ```
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to