Bug: Can not change status for custom workflow

jarnecook
Posts: 5
Joined: Tue Jan 29, 2008 5:46 am

Bug: Can not change status for custom workflow

Postby jarnecook » Wed Jan 30, 2008 11:58 pm

I am trying to change the status for a work item in FastTrack but it's not letting me.

Here are the relevant xml configs ...


tracker/workflow/research-workflow.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<workflow initial-status="open">
    <transitions>
        <transition action="assign" from="open" to="assigned"/>
        <transition action="close" from="open" to="closed"/>
        <transition action="research" from="assigned" to="researching"/>
        <transition action="requestClarifiy" from="researching" to="needsClarification"/>
        <transition action="propose" from="researching" to="proposed"/>
        <transition action="redefine" from="needsClarification" to="assigned"/>
        <transition action="close" from="needsClarification" to="closed"/>
        <transition action="close" from="proposed" to="closed"/>
        <transition action="reopen" from="closed" to="open"/>
    </transitions>
    <actions>
        <action id="assign" name="Assign Research"/>
        <action id="research" name="Research Requirements"/>
        <action id="requestClarifiy" name="Request Clarification"/>
        <action id="redefine" name="Redefine Requirements">
            <cleared>
                <field name="resolution"/>
            </cleared>
        </action>
        <action id="propose" name="Propose Solution"/>
        <action id="close" name="Close">
            <required>
                <field name="resolution"/>
            </required>
        </action>
        <action id="reopen" name="Reopen">
            <cleared>
                <field name="resolution"/>
            </cleared>
        </action>
    </actions>
</workflow>




tracker/fields/research-status-enum.xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<enumeration>
    <option id="open" name="Open" description="" iconURL=""/>
    <option id="assigned" name="Assigned" description="" iconURL=""/>
    <option id="researching" name="Researching" description="" iconURL=""/>
    <option id="needsClarification" name="Awaiting Clarification" description="" iconURL=""/>
    <option id="proposed" name="Awaiting Approval" description="" iconURL=""/>
    <option id="closed" name="Closed" description="" iconURL=""/>
</enumeration>



and the xml for the workitem ...


Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<work-item>
    <field id="created">2008-01-30 16:00:20.339 +1000</field>
    <field id="title">Research Blah</field>
    <field id="severity">normal</field>
    <field id="assignee">jarnecook</field>
    <field id="previousStatus">open</field>
    <field id="priority">25.0</field>
    <field id="type">research</field>
    <field id="status">assigned</field>
    <field id="description" text-type="text/html">asdadsadfsdafsfads asdfasdf df &lt;div&gt;asd f&lt;/div&gt;&lt;div&gt;asd f&lt;/div&gt;&lt;div&gt;as f&lt;/div&gt;&lt;div&gt;a dsf&lt;/div&gt;</field>
    <field id="author">jarnecook</field>
</work-item>


Note here ... that although I can not change the work item's status in Eclipse/FastTrack ... I can however change it via the PolarionALM web interface.

I also noticed in the search "Search" view (FT) ... the status field has the status as 'assigned' (when I mouse over) ... instead of "Assigned" ... (it's as if and cant figure out the canonical name of the status from the option tag, so it it's showing the status id instead).


Can anyone see what/if I have done something wrong, ... or is this a bug in FT?

P.S. .... im running
FT 1.1.5, Eclipse 3.3.1.1 (Build id: M20071023-1652), on OS X 10.4 (JRE 1.5.0_13-b05-241)


Cheers

Jarne Cook

awilkins
Posts: 22
Joined: Tue Feb 13, 2007 7:22 pm

Postby awilkins » Sat Feb 23, 2008 5:09 pm

Have you downloaded the workflow-internal.xml file to your local tracker folder? This is the file which makes the workflow work, the files you've written are just a convenient abstraction which the server processes into workflow-internal.xml for you.


Return to “FastTrack - Tracking deeply integrated in Eclipse IDE”

Who is online

Users browsing this forum: No registered users and 2 guests