Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot set watchers while creating issue #102

Open
nikwo opened this issue Jan 4, 2021 · 3 comments
Open

cannot set watchers while creating issue #102

nikwo opened this issue Jan 4, 2021 · 3 comments

Comments

@nikwo
Copy link

nikwo commented Jan 4, 2021

When creating issue like

issue = api.issues.create(project, feedback.user_login + " : " + feedback.brief_description,
                                  482, 1119, issue_type, 803,
                                  description=feedback.feedback, assigned_to=81, watchers=[81, 82])

watchers will not set to provided users id
Maybe I use your API not correctly, but if i set single id of user, there are still no difference

@yakky
Copy link
Member

yakky commented Jan 5, 2021

@nikwo thanks for your report. Passing a list of users should work

Let me investigate the issue: I will keep you updated

@nikwo
Copy link
Author

nikwo commented Jan 5, 2021

@nikwo thanks for your report. Passing a list of users should work

Let me investigate the issue: I will keep you updated

Here is my permissions list:

0 | "modify_us"
1 | "modify_wiki_page"
2 | "delete_wiki_link"
3 | "view_epics"
4 | "delete_task"
5 | "modify_issue"
6 | "view_wiki_pages"
7 | "view_tasks"
8 | "delete_issue"
9 | "modify_task"
10 | "view_us"
11 | "modify_milestone"
12 | "comment_us"
13 | "view_milestones"
14 | "add_milestone"
15 | "add_epic"
16 | "delete_us"
17 | "add_task"
18 | "add_wiki_link"
19 | "add_issue"
20 | "view_issues"
21 | "comment_issue"
22 | "view_project"
23 | "modify_epic"
24 | "delete_epic"
25 | "comment_wiki_page"
26 | "delete_milestone"
27 | "add_us"
28 | "comment_epic"
29 | "delete_wiki_page"
30 | "add_wiki_page"
31 | "view_wiki_links"
32 | "comment_task"

@protoroto
Copy link
Member

@nikwo I don't know if it is still relevant for you, but I've just opened an issue here taigaio/taiga-back#138 because even the raw call to the API doesn't add watchers, so it does look like there some problem in the API itself.

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

No branches or pull requests

3 participants