Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

gitlab comments not work #58

Open
MorganReid opened this issue Jan 26, 2024 · 1 comment
Open

gitlab comments not work #58

MorganReid opened this issue Jan 26, 2024 · 1 comment

Comments

@MorganReid
Copy link

Followed the README.md

Clone from the Openproject Repo: git clone https://github.com/opf/openproject.git --branch=stable/13 --depth=1 .
Clone the plugin inside the modules folder: git clone https://github.com/btey/openproject-gitlab-integration.git --depth=1 modules/gitlab_integration
Apply the changes below in Gemfile.lock and Gemfile.modules (the same ones you would do in a manual install).
Build the container: docker build -t openproject-docker --file=docker/prod/Dockerfile .

Now run the image following the official documentation.
The version of openproject is 13.2.0.
Gitlab's webhook is configured as follows:
image

Create a new issue on gitlab, the title is OP#94
image

Open the gitlab tag of 94 workpackage in openproject and i can see the issue just created.
image

The problem is that I added comments under this issue in gitlab, but openproject does not display them synchronously.
image

But if i modify the status of the issue (such as close), OpenProject can synchronize it.
image

@btey
Copy link
Owner

btey commented Feb 2, 2024

Hi @MorganReid

The ability to add comments in the Activity tab (or WP history) depends on the user rights. In this case depends on the "Gitlab" bot user created in OP.

Check the log file of OP for any error message. Try also to login as the "Gitlab" bot user in OP and try to add a comment in the respective project that you are trying to test/link from Gitlab. The gitlab bot user should be able to add comments, otherwise you'll need to check the user rights assigned.

Hope it helps.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants