Hi We solved it like follows. In our team, developers and test team are separate persons and we have separate states for a ticket beeing in dev/test. Therefor a sql finding the last editor of the previous state did the trick..
Cheers / Erik On 8/13/07, Erik Andersson <[EMAIL PROTECTED]> wrote: > > Hi again. > > I've implemented this locally now, but it seems like I need some > group-stuff as well, as jiar pointed out. > > Scenario. We have several developers and testers. Tickets that are ready > for test are assigned to a person responsible for dividing the test tickets. > He assigns the ticket to another person in the test team and now my fix > won't work the way I wanted it to :-( > > Anyone with an idea on how to manage this functionality? > > Is it a good idea to use the permissions table for this? Put all > developers in one group and testers in another. Then implement functionality > to find the latest owner of a specified group.. Or is it better to have the > groups in trac.ini? > > And my last question is still valid: Is it ok to make an sql call from > default_workflow.py or is there some other preferred way to do it? > > > Cheers / Erik > > On 8/13/07, Erik Andersson <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > That actually sounds cool, but unfortunately I don't have time for it. > > > > I will try to create a new action (like set_owner and the > > unofficial set_owner_to_reporter) in default_workflow.py and name it > > set_owner_to_prev_owner. > > > > Is it ok to make an sql call from default_workflow.py or is there some > > other preferred way to do it? > > > > Cheers / Erik > > > > On 8/13/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > > > > > > > > Sounds like a good idea! > > > > > > It would be even cooler if you were able to set the ownership to the > > > last owner in a particular group of users (QA <-> Developers). > > > That way it it would be easy to pass the ownership between the last > > > responsible developer and the last responsible Q/A. > > > > > > > > > > > > Cheers > > > Jim > > > > > > > > > On 13 Aug, 10:34, "Erik Andersson" <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > > > > > I'm working on a workflow where I for example in_QA want to provide > > > the > > > > possibility to automatically assign a ticket to the back to the > > > previous > > > > owner. Has anyone else already done this? > > > > > > > > I'm thinking that the two options is to write a nested sql that gets > > > the > > > > second latest entry from the ticket_change table or that I get all > > > owner > > > > entries from the table and then get the second latest entry in the > > > python > > > > code. > > > > > > > > Anyone else that got any better ideas? > > > > > > > > Cheers / Erik > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
