[rt-users] Fwd: RT 4.0.5 - Lifecycle - Status Drop Down has only current status

Siv Chand Koripella sivchand at gmail.com
Thu Feb 14 10:39:50 EST 2013


Hello List,

I am trying to set a Lifecycle with RT 4.0.5. Well I was able to define one
with steps from http://requesttracker.wikia.com/wiki/CustomStatusesInRt4 .

After doing this I made a queue use the Cycle1 Lifecycle. After doing that
the Status dropdown in Basics has only value (the current status). Is there
some thing wrong in my Lifecycle definition? I am not sure!!

Please do let me know if you need any more info.

Lifecycle grabbed from System Configuration
Lifecycles     {
          'Cycle1' => {
                        'rights' => {

        '* -> *' => 'ModifyTicket',
                                      '* -> deleted' => 'DeleteTicket'
                                    },
                        'actions' => [
                                       'new -> open',
                                       {
                                         'label' => 'Open It',
                                         'update' => 'Respond'
                                       },
                                       'new -> resolved',
                                       {
                                         'label' => 'Resolve',
                                         'update' => 'Comment'
                                       },
                                       'new -> rejected',
                                       {
                                         'label' => 'Reject',
                                         'update' => 'Respond'
                                       },
                                       'new -> deleted',
                                       {
                                         'label' => 'Delete'
                                       },
                                       'open -> stalled',
                                       {
                                         'label' => 'Stall',
                                         'update' => 'Comment'
                                       },
                                       'open -> resolved',
                                       {
                                         'label' => 'Resolve',
                                         'update' => 'Comment'
                                       },
                                       'open -> rejected',
                                       {
                                         'label' => 'Reject',
                                         'update' => 'Respond'
                                       },
                                       'stalled -> open',
                                       {
                                         'label' => 'Open It'
                                       },
                                       'resolved -> open',
                                       {
                                         'label' => 'Re-open',
                                         'update' => 'Comment'
                                       },
                                       'rejected -> open',
                                       {
                                         'label' => 'Re-open',
                                         'update' => 'Comment'
                                       },
                                       'deleted -> open',
                                       {
                                         'label' => 'Undelete'
                                       }
                                     ],
                        'transistions' => {
                                            'Need_More_Info' => [
                                                                  'open',
                                                                  'stalled',
                                                                  'Fixed',

'Ready_QA',

'Ready_Deploy',
                                                                  'ReOpen',

'Third_Party',

'Duplicate',

'Deferred',

'Not_Reproducible',

'Cannot_Fix',

'resolved',

'rejected',
                                                                  'deleted'
                                                                ],
                                            '' => [
                                                    'new',
                                                    'open',
                                                    'resolved'
                                                  ],
                                            'Cannot_Fix' => [
                                                              'open',
                                                              'stalled',
                                                              'Fixed',
                                                              'Ready_QA',

'Ready_Deploy',
                                                              'ReOpen',

'Need_More_Info',
                                                              'Third_Party',
                                                              'Duplicate',
                                                              'Deferred',

'Not_Reproducible',
                                                              'resolved',
                                                              'rejected',
                                                              'deleted'
                                                            ],
                                            'rejected' => [
                                                            'open',
                                                            'stalled',
                                                            'Fixed',
                                                            'Ready_QA',
                                                            'Ready_Deploy',
                                                            'ReOpen',

'Need_More_Info',
                                                            'Third_Party',
                                                            'Duplicate',
                                                            'Deferred',

'Not_Reproducible',
                                                            'Cannot_Fix',
                                                            'resolved',
                                                            'deleted'
                                                          ],
                                            'Deferred' => [
                                                            'open',
                                                            'stalled',
                                                            'Fixed',
                                                            'Ready_QA',
                                                            'Ready_Deploy',
                                                            'ReOpen',

'Need_More_Info',
                                                            'Third_Party',
                                                            'Duplicate',

'Not_Reproducible',
                                                            'Cannot_Fix',
                                                            'resolved',
                                                            'rejected',
                                                            'deleted'
                                                          ],
                                            'resolved' => [
                                                            'open',
                                                            'stalled',
                                                            'Fixed',
                                                            'Ready_QA',
                                                            'Ready_Deploy',
                                                            'ReOpen',

'Need_More_Info',
                                                            'Third_Party',
                                                            'Duplicate',
                                                            'Deferred',

'Not_Reproducible',
                                                            'Cannot_Fix',
                                                            'rejected',
                                                            'deleted'
                                                          ],
                                            'deleted' => [
                                                           'open',
                                                           'stalled',
                                                           'Fixed',
                                                           'Ready_QA',
                                                           'Ready_Deploy',
                                                           'ReOpen',
                                                           'Need_More_Info',
                                                           'Third_Party',
                                                           'Duplicate',
                                                           'Deferred',

'Not_Reproducible',
                                                           'Cannot_Fix',
                                                           'resolved',
                                                           'rejected'
                                                         ],
                                            'Not_Reproducible' => [
                                                                    'open',

'stalled',
                                                                    'Fixed',

'Ready_QA',

'Ready_Deploy',

'ReOpen',

'Need_More_Info',

'Third_Party',

'Duplicate',

'Deferred',

'Cannot_Fix',

'resolved',

'rejected',

'deleted'
                                                                  ],
                                            'open' => [
                                                        'stalled',
                                                        'Fixed',
                                                        'Ready_QA',
                                                        'Ready_Deploy',
                                                        'ReOpen',
                                                        'Need_More_Info',
                                                        'Third_Party',
                                                        'Duplicate',
                                                        'Deferred',
                                                        'Not_Reproducible',
                                                        'Cannot_Fix',
                                                        'resolved',
                                                        'rejected',
                                                        'deleted'
                                                      ],
                                            'stalled' => [
                                                           'open',
                                                           'Fixed',
                                                           'Ready_QA',
                                                           'Ready_Deploy',
                                                           'ReOpen',
                                                           'Need_More_Info',
                                                           'Third_Party',
                                                           'Duplicate',
                                                           'Deferred',

'Not_Reproducible',
                                                           'Cannot_Fix',
                                                           'resolved',
                                                           'rejected',
                                                           'deleted'
                                                         ],
                                            'Ready_Deploy' => [
                                                                'open',
                                                                'stalled',
                                                                'Fixed',
                                                                'Ready_QA',
                                                                'ReOpen',

'Need_More_Info',

'Third_Party',
                                                                'Duplicate',
                                                                'Deferred',

'Not_Reproducible',

'Cannot_Fix',
                                                                'resolved',
                                                                'rejected',
                                                                'deleted'
                                                              ],
                                            'Fixed' => [
                                                         'open',
                                                         'stalled',
                                                         'Ready_QA',
                                                         'Ready_Deploy',
                                                         'ReOpen',
                                                         'Need_More_Info',
                                                         'Third_Party',
                                                         'Duplicate',
                                                         'Deferred',
                                                         'Not_Reproducible',
                                                         'Cannot_Fix',
                                                         'resolved',
                                                         'rejected',
                                                         'deleted'
                                                       ],
                                            'ReOpen' => [
                                                          'open',
                                                          'stalled',
                                                          'Fixed',
                                                          'Ready_QA',
                                                          'Ready_Deploy',
                                                          'Need_More_Info',
                                                          'Third_Party',
                                                          'Duplicate',
                                                          'Deferred',

'Not_Reproducible',
                                                          'Cannot_Fix',
                                                          'resolved',
                                                          'rejected',
                                                          'deleted'
                                                        ],
                                            'Duplicate' => [
                                                             'open',
                                                             'stalled',
                                                             'Fixed',
                                                             'Ready_QA',
                                                             'Ready_Deploy',
                                                             'ReOpen',

'Need_More_Info',
                                                             'Third_Party',
                                                             'Deferred',

'Not_Reproducible',
                                                             'Cannot_Fix',
                                                             'resolved',
                                                             'rejected',
                                                             'deleted'
                                                           ],
                                            'new' => [
                                                       'open',
                                                       'stalled',
                                                       'Fixed',
                                                       'Ready_QA',
                                                       'Ready_Deploy',
                                                       'ReOpen',
                                                       'Need_More_Info',
                                                       'Third_Party',
                                                       'Duplicate',
                                                       'Deferred',
                                                       'Not_Reproducible',
                                                       'Cannot_Fix',
                                                       'resolved',
                                                       'rejected',
                                                       'deleted'
                                                     ],
                                            'Third_Party' => [
                                                               'open',
                                                               'stalled',
                                                               'Fixed',
                                                               'Ready_QA',

'Ready_Deploy',
                                                               'ReOpen',

'Need_More_Info',

'Third_Party',
                                                               'Duplicate',
                                                               'Deferred',

'Not_Reproducible',
                                                               'Cannot_Fix',
                                                               'resolved',
                                                               'rejected',
                                                               'deleted'
                                                             ],
                                            'Ready_QA' => [
                                                            'open',
                                                            'stalled',
                                                            'Fixed',
                                                            'Ready_Deploy',
                                                            'ReOpen',

'Need_More_Info',
                                                            'Third_Party',
                                                            'Duplicate',
                                                            'Deferred',

'Not_Reproducible',
                                                            'Cannot_Fix',
                                                            'resolved',
                                                            'rejected',
                                                            'deleted'
                                                          ]
                                          },
                        'inactive' => [
                                        'resolved',
                                        'rejected',
                                        'deleted'
                                      ],
                        'defaults' => {
                                        'on_merge' => 'resolved',
                                        'approved' => 'open',
                                        'on_create' => 'new',
                                        'denied' => 'rejected'
                                      },
                        'active' => [
                                      'open',
                                      'stalled',
                                      'Fixed',
                                      'Ready_QA',
                                      'Ready_Deploy',
                                      'ReOpen',
                                      'Need_More_Info',
                                      'Third_Party',
                                      'Duplicate',
                                      'Deferred',
                                      'Not_Reproducible',
                                      'Cannot_Fix'
                                    ],
                        'initial' => [
                                       'new'
                                     ]
                      },
          'approvals' => {
                           'rights' => {
                                         '* -> rejected' => 'ModifyTicket',
                                         '* -> *' => 'ModifyTicket',
                                         '* -> deleted' => 'DeleteTicket'
                                       },
                           'actions' => [
                                          'new -> open',
                                          {
                                            'label' => 'Open It',
                                            'update' => 'Respond'
                                          },
                                          'new -> resolved',
                                          {
                                            'label' => 'Resolve',
                                            'update' => 'Comment'
                                          },
                                          'new -> rejected',
                                          {
                                            'label' => 'Reject',
                                            'update' => 'Respond'
                                          },
                                          'new -> deleted',
                                          {
                                            'label' => 'Delete'
                                          },
                                          'open -> stalled',
                                          {
                                            'label' => 'Stall',
                                            'update' => 'Comment'
                                          },
                                          'open -> resolved',
                                          {
                                            'label' => 'Resolve',
                                            'update' => 'Comment'
                                          },
                                          'open -> rejected',
                                          {
                                            'label' => 'Reject',
                                            'update' => 'Respond'
                                          },
                                          'stalled -> open',
                                          {
                                            'label' => 'Open It'
                                          },
                                          'resolved -> open',
                                          {
                                            'label' => 'Re-open',
                                            'update' => 'Comment'
                                          },
                                          'rejected -> open',
                                          {
                                            'label' => 'Re-open',
                                            'update' => 'Comment'
                                          },
                                          'deleted -> open',
                                          {
                                            'label' => 'Undelete'
                                          }
                                        ],
                           'inactive' => [
                                           'resolved',
                                           'rejected',
                                           'deleted'
                                         ],
                           'defaults' => {
                                           'on_merge' => 'resolved',
                                           'on_create' => 'new'
                                         },
                           'active' => [
                                         'open',
                                         'stalled'
                                       ],
                           'initial' => [
                                          'new'
                                        ],
                           'transitions' => {
                                              'stalled' => [
                                                             'new',
                                                             'open',
                                                             'rejected',
                                                             'resolved',
                                                             'deleted'
                                                           ],
                                              'open' => [
                                                          'new',
                                                          'stalled',
                                                          'resolved',
                                                          'rejected',
                                                          'deleted'
                                                        ],
                                              '' => [
                                                      'new',
                                                      'open',
                                                      'resolved'
                                                    ],
                                              'rejected' => [
                                                              'new',
                                                              'open',
                                                              'stalled',
                                                              'resolved',
                                                              'deleted'
                                                            ],
                                              'resolved' => [
                                                              'new',
                                                              'open',
                                                              'stalled',
                                                              'rejected',
                                                              'deleted'
                                                            ],
                                              'deleted' => [
                                                             'new',
                                                             'open',
                                                             'stalled',
                                                             'rejected',
                                                             'resolved'
                                                           ],
                                              'new' => [
                                                         'open',
                                                         'stalled',
                                                         'resolved',
                                                         'rejected',
                                                         'deleted'
                                                       ]
                                            }
                         },
          'default' => {
                         'rights' => {
                                       '* -> *' => 'ModifyTicket',
                                       '* -> deleted' => 'DeleteTicket'
                                     },
                         'actions' => [
                                        'new -> open',
                                        {
                                          'label' => 'Open It',
                                          'update' => 'Respond'
                                        },
                                        'new -> resolved',
                                        {
                                          'label' => 'Resolve',
                                          'update' => 'Comment'
                                        },
                                        'new -> rejected',
                                        {
                                          'label' => 'Reject',
                                          'update' => 'Respond'
                                        },
                                        'new -> deleted',
                                        {
                                          'label' => 'Delete'
                                        },
                                        'open -> stalled',
                                        {
                                          'label' => 'Stall',
                                          'update' => 'Comment'
                                        },
                                        'open -> resolved',
                                        {
                                          'label' => 'Resolve',
                                          'update' => 'Comment'
                                        },
                                        'open -> rejected',
                                        {
                                          'label' => 'Reject',
                                          'update' => 'Respond'
                                        },
                                        'stalled -> open',
                                        {
                                          'label' => 'Open It'
                                        },
                                        'resolved -> open',
                                        {
                                          'label' => 'Re-open',
                                          'update' => 'Comment'
                                        },
                                        'rejected -> open',
                                        {
                                          'label' => 'Re-open',
                                          'update' => 'Comment'
                                        },
                                        'deleted -> open',
                                        {
                                          'label' => 'Undelete'
                                        }
                                      ],
                         'inactive' => [
                                         'resolved',
                                         'rejected',
                                         'deleted'
                                       ],
                         'defaults' => {
                                         'on_merge' => 'resolved',
                                         'approved' => 'open',
                                         'on_create' => 'new',
                                         'denied' => 'rejected'
                                       },
                         'active' => [
                                       'open',
                                       'stalled'
                                     ],
                         'initial' => [
                                        'new'
                                      ],
                         'transitions' => {
                                            'stalled' => [
                                                           'new',
                                                           'open',
                                                           'rejected',
                                                           'resolved',
                                                           'deleted'
                                                         ],
                                            'open' => [
                                                        'new',
                                                        'stalled',
                                                        'resolved',
                                                        'rejected',
                                                        'deleted'
                                                      ],
                                            '' => [
                                                    'new',
                                                    'open',
                                                    'resolved'
                                                  ],
                                            'rejected' => [
                                                            'new',
                                                            'open',
                                                            'stalled',
                                                            'resolved',
                                                            'deleted'
                                                          ],
                                            'resolved' => [
                                                            'new',
                                                            'open',
                                                            'stalled',
                                                            'rejected',
                                                            'deleted'
                                                          ],
                                            'deleted' => [
                                                           'new',
                                                           'open',
                                                           'stalled',
                                                           'rejected',
                                                           'resolved'
                                                         ],
                                            'new' => [
                                                       'open',
                                                       'stalled',
                                                       'resolved',
                                                       'rejected',
                                                       'deleted'
                                                     ]
                                          }
                       }
        }

Thanks,

--
Siv Chand Koripella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130214/70f4b8b3/attachment.htm>


More information about the rt-users mailing list