Questions tagged [redmine-api]

106 questions
0
votes
1 answer

Attachments in Redmine Python Rest API

dir(sttachments) will give the following value. [u'author', u'content_type', u'content_url', u'created_on', u'description', u'filename', u'filesize', u'id', u'thumbnail_url'] But I cannot able to read the container_id of attachments, due to this I…
0
votes
1 answer

Read the null value in Python Redmine API

Using rest API, I am connecting Redmine with Python Script and Populating the data in the ODOO. In Redmine assigned_to value in issue is empty i.e NULL, while Reading those value. Traceback (most recent call last): File…
0
votes
0 answers

Redmin issue with creating new issue

I am trying to create new issue on redmine but on browser it "show me internal server error". I have checked the logs it showed me the following logs error, " Completed 500 Internal Server Error in 48ms (ActiveRecord: 2.5ms) NoMethodError…
0
votes
1 answer

How to get Redmine Rest Api Issue with any parameters?

I am getting Redmine Issue with parameters. I tried: var rmMan = new RedmineManager(RedmineHost, RedmineKey); rmMan.GetObjectList(new NameValueCollection { { "parent_id", "1111" } }).Where(i=>i.Tracker.Name == "MyTrackerName"); How can I…
Fortudie
  • 21
  • 8
0
votes
1 answer

Redmine: remove archived projects

I would like to remove all archived projects on my redmine installation. Doing so from my browser works, but I have 400 of them... I had the idea to script it, but the redmine REST api doesn't seem to expose the deletion of archived projects... And…
alleen1
  • 418
  • 6
  • 14
0
votes
1 answer

No 'Access-Control-Allow-Origin' Error when POST, JSON data to Bitnami Redmine

I am trying to build a rest client to POST data to Redmine API. I don't think i could change anything on Redmine(sever side) API. to give access. I have installed Redmine bitnami stack locally(Redmine -> localhost/redmine). And client side files are…
Manoj Masakorala
  • 446
  • 1
  • 6
  • 20
0
votes
0 answers

Redmine authentification by url

Basic HTTP GET request work by just calling url in browser . Is possible to authenticate a user somehow calling an url , that include his login and password ??
test
  • 3
  • 2
0
votes
0 answers

How to get the value enetered in custom field in custom workflow

I'm new to redmine. I want to get the value from one custom field and set it to other. So how can I get the value of custom field in custom workflow.
ruby
  • 63
  • 1
  • 9
0
votes
1 answer

Fetch value from Redmine Custom Custom field

I have created custom field in redmine wher we type the client phone number manually.Also written a ruby code in redmine custom workflow to send sms to client when ticket id is raised.In the code I can type phone number but i actually want to fetch…
ruby
  • 63
  • 1
  • 9
0
votes
1 answer

search issue by custom field in redmine

I have a list of issues which I want to search by email. Currently the email custom field id is 4. But when I use this request: GET http://redmine.mysite.com/issues.json?cf_4=somebody@gmail.com I am getting an array containing all issues with…
sky_coder123
  • 2,161
  • 3
  • 14
  • 15
0
votes
0 answers

Using Redmine REST API to concurrently update Issues

Hoping someone could shed some light as my searches have turned up very little information. I want to use Redmine's REST API for Issues to do: GET /issues/[id].json to get the content of a specific issue. Make changes to the above content. Finally…
antak
  • 19,481
  • 9
  • 72
  • 80
0
votes
0 answers

Redmine auth_token missing when editing comment

When try to edit comment i am getting this error 422 Invalid form authenticity token. log/production.log says Rendered journals/_notes_form.html.erb (3.2ms) Rendered journals/edit.js.erb (3.6ms) Completed 200 OK in 29ms (Views: 4.2ms |…
user2377528
0
votes
1 answer

Trying to pass htaccess and login into redmine api

I want to connect to the Redmine API. The page is protected by a .htaccess file. As long as the user credentials (name + password) are the same for .htaccess and Redmine, there aren't any problems. Well... Two of my teammates are using different…
Cryv
  • 1
  • 1
0
votes
0 answers

redmine saving of custom fields from ruby API

issue = Redmine::Issue.find(1700) ready = issue.custom_fields.select{|i| i.name == 'Ready for testing'}.first issue.subject = 'test' ready.value = "1" issue.save This grabs the ticket from redmine, and updates the subject accordingly, but not the…
Dudo
  • 4,002
  • 8
  • 32
  • 57
0
votes
1 answer

Attaching file using redmine rest api

i have a little problem when i try to attach file to redmine rest api, i'm using php-redmine-api-master : if ($_FILES["file"]["error"] > 0) { echo "Error: " . $_FILES["file"]["error"] . "
"; …