Questions tagged [redmine-api]
106 questions
2
votes
1 answer
How set the option"inherited members" for projects with the rest-api from Redmine
I create automatically with the rest api a lot of projects in Redmine.
But we have the problem that for every project we need to set manually the option "inherited members from parent projects" (i don´t know exactly the right spelling). This is very…

Henry31
- 105
- 1
- 11
2
votes
1 answer
redmine: sending alert if user does not enter hours
So we have this distributed team who are working on a project and whose hours/progress is being monitored using redmine. All the guys are really talented and hardworking but pretty bad when it comes to updating their daily tasks/progress using…

Undefined Variable
- 4,196
- 10
- 40
- 69
2
votes
1 answer
(Rails + Redmine) Display tab in the top menu depending upon user role
I am working on Redmine 1.4.x. I have two roles: client and employee. To separate the roles I have added is_client boolean attribute to the database. Here is the use case:
if is_client?
puts "it is client"
else
puts "it is employee"
end
Now…

user2622247
- 1,059
- 2
- 15
- 26
1
vote
2 answers
Getting 401 unauthorized when using redmine API included the api key
I am trying to use the redmine-api. I am using cURL command. However I am getting a 401 error(UnAuthorize).
I checked Enable REST API in Administration -> Settings -> API. I am using correct API Key. My account is system admin.
Here is version…

M.Nada
- 11
- 2
1
vote
1 answer
redmine API: cannot GET issues.json with curl
When I issue the following command, I got a HTTP/1.1 401 Unauthorized error:
curl -v -XGET -u admin:admin http://my_projects.heroku.com/projects/PROJECT_NAME/issues.json
Any idea ?
UPDATE
curl -v -XGET http://my_projects.heroku.com/news.json
curl…

Luc
- 16,604
- 34
- 121
- 183
1
vote
0 answers
Python-Redmine filter issues by closed_on date
I am attempting to get all open ticket and tickets that have closed within the last year. I have tried a few different variations of this but have not been successful to even just get closed tickets within the last year.
from datetime import…

JarvisButler290
- 93
- 11
1
vote
1 answer
Creating a plugin for Redmine in a language other than Ruby?
I've been searching for this but haven't found a definitive answer, which is: other than Ruby, can other languages be used to create plugins for Redmine?
If so, will that incurr any workarounds and difficulties in general? Or will using them be as…

valik402
- 11
- 1
1
vote
0 answers
Redmine API get time entries report
Redmine API can serve time entries in JSON.
$ curl -X GET \
'https://my_redmine/time_entries.json' \
-H 'X-Redmine-API-Key: my_api_key'
{"time_entries":[{"id":14212,"project":{"id":73,"name":"Project…

Pierre de LESPINAY
- 44,700
- 57
- 210
- 307
1
vote
0 answers
How to fix "user is invalid" error, when adding user to a group with redmine API REST
I would like assign a user to a group with API REST.
But it doesn't work.
I use POST /groups/:id/users.:format syntax (see Rest Groups)
User with this id exists in redmine and group too.
In redmine log I can see:
Processing by…
1
vote
1 answer
Redmine API giving Subject cannot be blank
I am trying to use curl to create a issue in Redmine 4.0.3-stable
I at first was trying to put the project id in the json but got more errors.
I tried setting the privileges on the role the user with the API key
XXXXXX below to everything (needed…

Philip Dalrymple
- 31
- 3
1
vote
0 answers
How to add an issue trackers(Bag,Feature,Support) to existing project?
How to add an issue trackers(Bag, Feature, Support) to the existing project?
Please, help to solve
[enter image description here][1]var project = manager.GetObject(project_id, null);
project.Description = "Updated description";
…

tmp20
- 113
- 6
1
vote
1 answer
Redmine / Java native: Update query by script. Clone Fiddler request
I'm doing a script to update several queries that we use in our project everytime we deploy a sprint.
I'm trying to replicate the same request that I'm testing on Fiddler, that it is working, in the following…

Agorreca
- 684
- 16
- 31
1
vote
2 answers
How to correctly get new issues list via redmine API?
I'm creating a small tool that will fetch new issues from our redmine repository and do some utility task on them. I'm planning the tool to run in background and to poll redmine for new issues ~ every minute.
I have no problems getting all issues…

grigoryvp
- 40,413
- 64
- 174
- 277
1
vote
1 answer
Updating issue using Redmine API
I'm trying to make a little app which updates redmine issues. To start with I wanted to test the API calls to make sure I knew what I'm doing and already hit a wall.
I fired up postman with a…

Ravendarksky
- 573
- 5
- 13
1
vote
2 answers
Redmine API claims missing 'hours' field and returns 422 on POST to time_entry.json
I am trying to create time entries in a Redmine 3.3.0.stable installation via the REST API, using the Requests library in the client software. I am using the following code:
urlSuffix='/time_entries.json'
time_entry = {
'hours': …

Michael Jaros
- 4,586
- 1
- 22
- 39