...
- Make sure you have credentials for service account, if not, reset them in portal following steps described in Project Details#ServiceAccount
- Add service account into proper repositories using portal
- Open inkognito/private window
- Login to GitLab using service account credentials
- Then go to Personal Access Tokens page https://GitLabgitlab.shared.CUSTOMERX.tds.tieto.com/profile/personal_access_tokens
- Fill the name , for example like "jira-integration"
- Leave Expires at EMPTY to keep it unlimited depending on project needs
- Choose "api,read_user, read_api, read_repository, write_repository"
- Copy generated token for later use
- Verify that account can access desired repositories
- Send request to TDS team with relevant information:
- service account token
- GitLab URL
- Jira project URLs with KEYs that you need to integrate this GitLab with
...
- Add service account into proper repositories using portal
- Go to GitLab users list https://GitLabgitlab.shared.CUSTOMERX.tds.tieto.com/admin/users
- Search for that service account and open it by clicking username or simply go to user profile using this direct link while replacing XXX with username - https://GitLabgitlab.shared.CUSTOMERX.tds.tieto.com/admin/users/XXX
- Click "Impersonate"
- Then go to Personal Access Tokens page https://GitLabgitlab.shared.CUSTOMERX.tds.tieto.com/profile/personal_access_tokens
- Fill the name , for example like "jira-integration"
- Leave Expires at EMPTY to keep it unlimited depending on project needs
- Choose "api,read_user, read_api, read_repository, write_repository"
- Copy generated token for later use
- Verify that account can access desired repositories
- Stop impersonation
...
- Go to you GitLab project settings, URL shall be like https://GitLabgitlab.shared.CUSTOMERX.tds.tieto.com/PORTAL-PROJECT-NAME/GitLab-PROJECT-NAME/-/services/jira/edit
- Enable it (Active ~ true)
- Select triggers and actions feasible for you
- Enter Jira Web URL, for example https://jira.shared.CUSTOMERX.tds.tieto.com
- Leave "Jira API URL" empty as TDS provides REST api on standard endpoints. If you have some different NON TDS Jira, you might need to specify this REST API URL.
- Username or Email - recommended is username of your project dedicated service account, which is described in Project Details#ServiceAccount
- Password or API token - recommended is token of your project dedicated service account, which is described in Project Details#ServiceAccount
More details can be found in GitLab documentation https://GitLabgitlab.shared.pub.tds.tieto.com/help/user/project/integrations/jira
...