Edgewall Software
Modify

Ticket #7211 (closed enhancement: fixed)

Opened 4 years ago

Last modified 4 years ago

Update workflow_parser.py to show closed resolution states

Reported by: scottb@… Owned by: ecarter
Priority: normal Milestone:
Component: ticket system Version:
Severity: normal Keywords: workflow graphviz
Cc: scottb@…
Release Notes:
API Changes:

Description

The workflow_parser.py code in contrib is a utility to import a Trac workflow and convert it to a pretty picture using GraphViz?. Currently all transitions to a closed state look alike. It would be nice if the resolution states were displayed for these Closed state transitions so you could better tell what's going on.

Attachments

workflow_parser.py.patch (1.2 KB) - added by scottb@… 4 years ago.
Patch to add resolution states to diagrams

Download all attachments as: .zip

Change History

comment:1 Changed 4 years ago by ecarter

  • Component changed from general to ticket system
  • Owner changed from jonas to ecarter

Changed 4 years ago by scottb@…

Patch to add resolution states to diagrams

comment:2 Changed 4 years ago by scottb@…

I attached a patch for workflow_parser.py to add closed state resolution information to transition titles. I just realized that the patch I attached also removes a rotation in the output that's generated by graphviz. The existing code generates PNG files that are rotated 90 degrees, this fixes it so the diagrams are right-side-up. This is really an unrelated issue that accidentally got included in the patch (though I found it handy).

comment:3 Changed 4 years ago by ecarter

  • Resolution set to fixed
  • Status changed from new to closed

Fixed; thanks for the patch!

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from ecarter. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.