Symptom
When testing an Azure, GitLab, or GitHub work item integration you receive the following popup message:
Work item search error
The project does not exist or you do not have access, if you have previously logged in with a different user try clearing your cookies.
Cause
When considering the configuaration of an Azure, GitLab, or GitHub work item lookup in MettleCI Workbench you need to ensure that you don’t define an incompatible combination of settings for your Project.
You will create this compatibility problem if you…
-
configure a Azure, GitLab, or GitHub work item integration with the
Same as git repositoryoption checked. -
Associate this work item integration with a project which is configured to store its code in a repository of a different type to that used for your work item integration.
For example, if you configurea GitHub work item integration with the Same as git repository option checked, but then associate that with a project which is using Atlassian Bitbucket as its code repository you’ll receive the error message described above when trying to perform a work item lookup in the MettleCI Workbench commit dialog. That’s perfectly understandable, but I’m wondering what we might be
Solution
Ensure your DataStage Project is configured in MettleCI Workbench with a work item integration and git code repository of the same type.