#NEWLINE# def main( self , folder , state_id ) : #NEWLINE# #INDENT# folder . jira . transition_issue ( folder . issue , state_id ) #NEWLINE# starting_status = folder . get_fields ( ) [ 'status' ] #NEWLINE# pull_result = run_command_method_with_kwargs ( 'pull' , folder = folder ) #NEWLINE# if ( folder == folder . get_fields ( ) [ 'status' ] ) : #NEWLINE# #INDENT# raise JiraInteractionFailed ( "JIRA was not able to successfully transition this issue into the requested state.  This type of failure usually occurs when one's JIRA configuration requires that certain fields be specified before transitioning into a given state.  Unfortunately, no details regarding what fields may be required are provided via JIRA's API." ) #NEWLINE# #UNINDENT# return pull_result [ 1 ]