Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-2127

Post Function fails when the condition is validated

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • Release 5.7.4
    • Release 5.7.5
    • None
    • None
    • UNCOVERED

    Description

      Problem: The issue transition fails when a Post Function with workflow condition is executed.

      Steps to reproduce the error: On your JIRA instance, you should create a Xporter Post Function with condition. Then, execute the transition that triggers the Post Function.

      Expected result: The transition should be executed and the condition validated.

      Log:

      2018-11-26 12:07:51,977 http-nio-8080-exec-16 ERROR admin 724x2349x1 181ksoa 0:0:0:0:0:0:0:1 /secure/WorkflowUIDispatcher.jspa [c.a.jira.workflow.OSWorkflowManager] Caught exception while attempting to perform action 21 from workflow 10022 on issue 'DEMO-23'
      java.lang.IllegalStateException: No match found
              at java.util.regex.Matcher.group(Matcher.java:536)
              at com.xpandit.jiraxporter.workflow.XporterPostFunctionAction.getFields(XporterPostFunctionAction.java:528)
              at com.xpandit.jiraxporter.workflow.XporterPostFunctionAction.evaluateWorkflowCondition(XporterPostFunctionAction.java:377)
              at com.xpandit.jiraxporter.workflow.XporterPostFunctionAction.execute(XporterPostFunctionAction.java:262)
              at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1014)
              at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1407)
              at com.opensymphony.workflow.AbstractWorkflow.doAction(AbstractWorkflow.java:557)
              at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowActionInsideTxn(OSWorkflowManager.java:830)
              at com.atlassian.jira.workflow.OSWorkflowManager.doWorkflowAction(OSWorkflowManager.java:787)
              at com.atlassian.jira.bc.issue.DefaultIssueService.transition(DefaultIssueService.java:492)
              at com.atlassian.jira.web.action.workflow.SimpleWorkflowAction.doExecute(SimpleWorkflowAction.java:28)
              ... 1 filtered
      

      Attachments

        Issue Links

          Activity

            People

              rmbr Rui Rodrigues
              fcri fcri
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: