I’m trying to connect the automation function to github ci/cd. By the way, I got an import error, where is the problem?
API key: user '*email*' in organization '*project*'
Using project: tmp (TMP)
Import source: tmp-test2
Environment: github
Completing runs with run fields: ci_repository, ci_run_id (*repo*, *id*)
Import error: Source 'tmp-test2' does not exist (API_DATA_NOT_FOUND)
Error: Process completed with exit code 1.
or, it’s also happening like - “Field ‘ci_repository’ does not exist API_INVALID _INPUT” - this error. Is there something to set condition serverside?
In the automation settings, under “sources” and “fields” did you check if those were enabled for your project ?
Does this only happen when “completing” runs?
But I don’t know how to create a new source name. If you turn it from local, the source name is automatically generated, but if you turn it from ci, it’s not automatically generated.
Also, field settings cannot be newly created on that page. Is there any way I can set them in the code?
Importing data should always create a new source if one with that name does not exist - completing runs does not (because it only makes sense on existing non-empty runs) - could you maybe describe in more detail what you are trying to accomplish?