Search
Results (18279)
- Open discussion: RE: API: List Available Statuses By Issue and User
- Yeah, but it's not exposed in the API, AFAIK. Maybe I'll ad it as [issue-id]/new_statuses_allowed_to/[user-id]. Just means I gotta patch the code whenever I upgrade.
- Hi, we would like to sort the Gantt by the issue id. Could anybody tell me how to change the code to do this? Kind Regards Roland
- Originally posted here: http://forums.iis.net ... I understand this is more of a Windows/IIS issue, but maybe someone here can be able to give ... can I have more logs about what is happening?
- Open discussion: RE: API: List Available Statuses By Issue and User
- I just tested this in the debugger and it works: Issue.find(1).new_statuses_allowed_to(User.find(1)) => [#<IssueStatus id: 1, name: "New", is_closed: false, position: 1, default_done_ratio: nil>, #<IssueStatus id: 2, name: "In Progress", is_closed: false, position: 2, default_done_ratio: nil>, #<IssueStatus id: 3, name: "Resolved", is_closed: false, position: 3, default_done_ratio: nil>, #<IssueStatus id: 4, name: "Feedback", is_closed: false, position: 4, default_done_ratio: nil>, #<IssueStatus id: 5, name: "Closed", is_closed: true, position: 5, default_done_ratio: nil>, #<IssueStatus id: 6, name: "Rejected", is_closed: true, position: 6, default_done_ratio: nil>]
- Open discussion: RE: API: List Available Statuses By Issue and User
- Looks like there is an instance method for the issue that allows this: http://www.rubydoc.info/github/edavis10/redmine/Issue#new_statuses_allowed_to-instance_method So, if you are using a hook you will get the issue in the context hash so do this: i = context[:issue] i.new_statuses_allowed_to If extending the issue object, replace i with self.
- Open discussion: RE: API: List Available Statuses By Issue and User
- >>Are you just looking to use the API to discover what status an issue is currently in No, that's not a problem ... er can move to? Yes. "Given a user and an issue, what status can the user change that issue to?" This maps directly Redmine's Status drop-down for any given issue:
- Open discussion: RE: API: List Available Statuses By Issue and User
- I find your question confusing so I won't be ... ng to use the API to discover what status an issue is currently in and what status a user can move to? Issue.find(#).status_id will show you the current ... where you get stuck using the api. Thanks
- Good afternoon At the moment of making a s ... etición del usuario: SELECT COUNT(DISTINCT "issues"."id") FROM "issues" LEFT OUTER JOIN "projects" ON "projects"."id" = "issues"."project_id" LEFT OUTER JOIN "journals" ON "journals"."journalized_id" = "issues"."id" AND (journals.private_notes = 'f' OR ... ct_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND (projects.id IN (1,4,29,5,7, ... 48))))) AND "journals"."journalized_type" = 'Issue' WHERE (((projects.status <> 9 AND projects. ... ct_id FROM enabled_modules em WHERE em.name='issue_tracking')) AND ((projects.is_public = 't' AND ((issues.is_private = 'f' OR issues.author_id = 803 OR ...
- I have created a new plugin and patched both Issue and IssueQuery as well as created a new model to store ... my new model statustimes table and extended Issue to have functions to pull out all the needed ... a to display using alias_method_chain in the IssueQueryPatch and adding new QueryColumns with ... ys_in_status(status_id) that I have added to issue instead of having to hard code funtion calls ... column: <pre> Started GET "/projects/adam/issues?c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=prio ... at 2016-04-20 23:55:08 +0000 Processing by IssuesController#index as HTML Parameters: {"c" ... atustimes.cum_t' in 'order clause': SELECT `issues`.`id` AS t0_r0, `issues`.`tracker_id` AS t0_r1, `issues`.`project_id` AS t0_r2, `issue...
- Help: RE: Calculate how long issue is in current status
- Going to spawn a new issue to reduce noise.
- In Redmine, let's say you have two users, Al and Beau, and they're working on issue #42. Issue #42 is in status "Pending". Al has a role of ... Just to get the workflow. Or ideally: /issues/[id]/workflow-for-user/[user] I could ev ... nfo. Thanks for any thoughts on the topic.
- Help: RE: Calculate how long issue is in current status
- Adam Pfeiffer wrote: > Hello, > We just rol ... tation. > > We need to know how long each issues that is open has been in its current state. ... e done the following: 1. Added new field to issues called last_status_change 2. Created a new ... RI | NULL | auto_increment | # Uniq id | issue_id | int(11) | YES | MUL | NULL | | # id from issue table | issue_statuses_id | int(11) | YES | | NULL | | # id from issue_statuses table | cum_t | int(11 ... ime in seconds spent in this status for this issue | itr | int(11) | YES | ... of times it has been in this status for this issue +-------------------+---------+------+----- ... atustime < ActiveRecord::Base belongs_to :issue belongs_to :issue...
- Help: RE: build query string using link_to
- i found a solution, below: link_to "Crea Issue", :controller => "issues", :action => "new", :project_id => @pid, *:issue => {:description => iddm[:descrizione], :sub ... gesp]}*}, :disabled => false i specified issue attributes in hash array. Marco Nobler wr ... ample using "link_to" helper, ie specifying "issue[description]" and so on. > > > http://www.redmine.org/projects/redmine/issues/new?issue[description]=prefilled%20description&issue[custom_field_values][2]=Duplicate > > please, can anyone help me? > thanks > Marco
- Hi, i searched trough forums but didn't find ... ample using "link_to" helper, ie specifying "issue[description]" and so on. http://www.redmine.org/projects/redmine/issues/new?issue[description]=prefilled%20description&issue[custom_field_values][2]=Duplicate please, can anyone help me? thanks Marco
- I have Installed Redmine Latest Version i.e. ... rking there. Can anybody Help me related the Issue? Or Improve the Compatibility of the Plugin. ... rnative Way to Implement the Chat to Redmine.
- Development: RE: .NET API Problem creating Issue
- ok, thank you so much
- Development: RE: .NET API Problem creating Issue
- It shouldn't be...From looking at the logs and google search, it sounded like its one of those two issues. Anyways, I will reply you by tomorrow to see how it works with my environment.
- Development: RE: .NET API Problem creating Issue
- yes Kush, i'm using this framework in the ... iguration, so this can be a problem? txs!!
- Development: RE: .NET API Problem creating Issue
- I could be wrong but from the looks of it, this maybe related to SMTP issue or https issue(at least from google search). Are you using ... rp If so, may be I can try it on my machine.
- Open discussion: RE: 403 forbidden for redmine.org
- Oh ok sorry, i just stumbled across this issue on my way to download the latest update for our redmine instance and wanted to let you know.
- Help: RE: Calculate how long issue is in current status
- Hello Adam, No worries :). Glad its working ... r reply.I will try and go the plugin route
- Hi, I'm pretty new to redmine and I'm having a hard time finding a way to post an issue with a file attached (and specially its cont ... </upload> </code></pre> Then create the issue using the upload token: POST /issues.xml <pre><code class="xml"> <issue> <project_id>1</project_id> <subject>Creating an issue with a uploaded file</subject> <uploads t ... ontent_type> </upload> </uploads> </issue>" </code></pre> I successed in posting ... Thank you in advance for your answer.
- Development: RE: .NET API Problem creating Issue
- Thank you so much for the repply Kush Rest API is enabled, here is de error log
- Hi, I am trying to find the code which re ... (List) and displays it in a particular page, Issues for example. I believe that it is bei ... r.rb </pre> and is being displayed using (in Issues page as the Custom field was set for Issues page) <pre> app\views\issues\_form_custom_fields.html.erb </pre> I w ... ul so far. Any help is appreciated.
- Help: RE: "Quote" and "Watch" button doesn't work after redmine upgrade - version 3.1.0 stable
- A bit old thread, I know but I am struggling with the same issue on a production server. Testing the same installation on a test server does not reproduce the issue. Anybody has a clue what should I be looking for? Thanking you in advance!