Opened 14 years ago

Closed 10 years ago

#6921 closed enhancement (duplicate)

Request ability to set a field as part of workflow

Reported by: scottj@… Owned by: Eli Carter
Priority: normal Component: AdvancedTicketWorkflowPlugin
Severity: normal Keywords:
Cc: scottj@… Trac Release: 0.11

Description (last modified by Eli Carter)

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 14 years ago by anonymous

Cc: scottj@… added; anonymous removed

comment:2 Changed 14 years ago by fabio


comment:3 Changed 13 years ago by scottj@…

Hi retracile:

Any information on this? Do you know if this could be completed easily?

comment:4 Changed 13 years ago by Eli Carter

Description: modified (diff)

comment:5 Changed 10 years ago by Ryan J Ollos

Resolution: duplicate
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Eli Carter.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.