Opened 15 years ago
Closed 10 years ago
#6921 closed enhancement (duplicate)
Request ability to set a field as part of workflow
Reported by: | Owned by: | Eli Carter | |
---|---|---|---|
Priority: | normal | Component: | AdvancedTicketWorkflowPlugin |
Severity: | normal | Keywords: | |
Cc: | scottj@… | Trac Release: | 0.11 |
Description (last modified by )
It would be really nice to be able to set a field as part of my ticket workflow. At the company I work for, we have a workflow that has an analysis stage. During the analysis, the developer assigned reviews the enhancement/defect and determines how much time he/she thinks it will require to implement the changes.
Right now, it's just assumed that the developer will fill in the 'estimatedhours' field themselves, then click the 'analyze' action to transfer it to another state. However, it would be better if the actual action to transfer to another state would read something like, 'analyze at _____
hours", and the developer would type in the number of hours he/she thinks it would require.
So, this request is simply to have some method of embedding a custom field into the action so that the workflow could set a custom ticket field upon making this action. In my example, the code to setup the operation might be:
analyze = new -> analyzed analyze.operation = set_field analyze.field = ticket_custom.estimatedhours analyze.units = hours
And the resulting actions might be:
- leave as new
- analyze at
______
hours (The estimated hours will be set. Next status will be 'analyzed'.)
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
Cc: | scottj@… added; anonymous removed |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Hi retracile:
Any information on this? Do you know if this could be completed easily?
comment:4 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 10 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
If you want to require a field to be filled in, it is suggested that you use a plugin such as DynamicFieldsPlugin. If you want to set a field to a specific value that is determined from the current state of the workflow, that might eventually be satisfied by a set_field
operation suggested in #9502 and trac:#11452. It might be possible to move a field from the ticket properties to the workflow. We certainly don't want it in both places. That will be worked out in the aforementioned tickets.
+1