A
A
AJ2017-07-28 00:15:05
Redmine
AJ, 2017-07-28 00:15:05

How to change task status by event in Redmine?

Previously, in Redmine, when adding a task, the status automatically changed from "Closed" to "On refinement". At some point it was called a bug and fixed. But our whole office is already used to this logic. And they consider it a rather convenient way not to lose the task when new questions arise. There are no specialists on rails or on redmine Yasen redmine. So the encoders in bulk.
Question. How can I change the status from "Closed" to "Under revision" when a message is added to the task?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
apro, 2017-07-28
@apro

> sen redmine has no specialists on rails or on redmine
Redmine has a REST API, and it can be automated in almost
any language, I prefer to use python for this:
https://pypi.python.org/pypi/python-redmine
there everything is quite simple, for example, you can change the issue status like this:

redmine = Redmine(redmine_url, key = redmine_key, impersonate = login)
issue = redmine.issue.get(issue_id)
issue.status_id = 3
issue.save()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question