プロジェクト

全般

プロフィール

Vote #81715

未完了

API - Question/Problem

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Documentation_24
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
24
version_id:
0
issue_org_id:
36229
author_id:
547393
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

So - I am using the Python-Redmine package - (it works but it is painful to figure out :-()

To create an issue, I need to get (pass) the USER ID [which I think is a number] to assign the issue to.

Problem: The get users api in the python package reports "Forbidden" - it is redmine that is rejecting the request to list all users ok - thats a permissions problem.

Since I cannot look up anybody (I do not have permissions) i need to have users on their own determine their USER ID, where in the displays can a person figure out their user id? Which as I understand is a number

Note: I think this is sort of comical - (A) I can't use the API to create an issue without an USER ID, and (B) I have no means to determine what the ID is via the API {permissions issue} and (C) the GUI/HTML interface does not show this in for example the "about user" display, therefore there is no means to use the API to create an issue. It's a bad security chicken and egg problem! Suggestions please?


journals

what would be helpful is if there was an API method to convert a USERNAME into an ID number
And likewise a project name into a PROJECT ID number

ie: server.id_of_project("projectname")
or: server.id_of_user("joeblow")

--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリDocumentation_24 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0