Project
YouTrack
Priority
Major
Type
Feature
State
Fixed
Assignee
Evgeniy Schepotiev
Subsystem
Workflow
Fix versions
Fascination
Fixed in builds
No Fixed in build
Affected versions
No Affected versions
Browser
Any Browser
OS
Any OS
Verified in build
Not verified
Verified by
Nobody
Affected builds
No affected builds
Reviewed by
No reviewed by
Story points
Undefined
Value
Marketing value
No marketing value
  • Created by   Evgeniy Schepotiev
    8 months ago (08 Sep 2011 14:52)
  • Updated by   Evgeniy Schepotiev
    6 hours and 49 minutes ago (19:50)
 
JT-11214 Check workflow requirements on attach to project and on fields modification
1
Issue is visible to: All Users
  The issue is visible to the selected user group only
Add descriptor file to workflow with requirements:
1. Required fields (state or subsystem, for example)
2. Required field values (subsystem.support, for example)

On attach workflow to project, check whenever all requirements are met.
If not met, suggest user to resolve them:
  1. add required fields to projects
  2. add required values to field bundles

(zeckson note: I think fields should be matched by types not by names, it can lead to changes in language)

HTD:
  • Create workflow w1
when {
  issue.severity = {Low}
}

Where issue.severity is field of type enum[1]

  • Create project p1 without severity field
  • Try to attach w1 to project p1 - dialog with the folloing text appears:
Workflow w1 requires:
  • field severity with type enum[1]
  • value Low for field severity
Add required values to project Cancel
  • If press Add... - project is modified and workflow is attached
  • Open p1 fields and try to detach field severity - get dialog:
Field severity is required by workflow w1
Remove field and detach workflow w1 Cancel
  • Open bundle for field severity and try to rename or remove value Low - get dialog
Value Low of field severity is required by workflow w1
Continue and detach workflow w1 Cancel
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments