issue linking does not work in create issues and subtasks

Issue #596 resolved
Alexander Richter created an issue

Hi there,

when using the "Create Issues and subtasks" postfunction in JIRA and choose to link the new issue to the current issue, the issue link will not be created.

  • is there a way to copy the issues original attachments and comments to the new issue?

Best regards, Alex Richter

Comments (8)

  1. Fidel Castro Armario repo owner

    Hi @alex0411,

    I can't reproduce your problem. Please, try moving "Create issues and subtasks" post-function to first position in execution order.

    If it doesn't solve the problem, please, check your log file for error messages.

    You can copy attachments using Set fields parameter with the following configuration: Captura de pantalla 2017-05-08 a las 16.10.46.png

    You can copy the last comment, but not all of them, using the following configuration:

    Captura de pantalla 2017-05-08 a las 16.12.18.png

  2. Fidel Castro Armario repo owner

    Hi @alex0411,

    The error messages in the log file doesn't correspond to version 2.2.32, as stated by the version selected in the issue. Please, tell me the versions installed in the test and production environment.

  3. Alexander Richter reporter

    Hi @fcarmario,

    sorry, chose the wrong Version.... both test and production have version 2.2.36

  4. Fidel Castro Armario repo owner

    Hi @alex0411,

    I need to see further in the upper part of the stack dump. I mean, the lines that come before:

    at com.atlassian.jira.workflow.OSWorkflowManager.createIssue(OSWorkflowManager.java:741)
    at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
    at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1046)
    Caused by: com.opensymphony.workflow.WorkflowException: Could not load FunctionProvider class
    ... 301 more
    
  5. Alexander Richter reporter

    @fcarmario

    this is the rest in the upper part

    2017-05-09 12:45:24,857 http-nio-8080-exec-3 INFO JIRA 765x9595x2 gw6wco 10.176.51.138 /rest/api/latest/mypermissions [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,854 http-nio-8080-exec-14 INFO JIRA 765x9594x1 gw6wco 10.176.51.138 /secure/AjaxIssueEditAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,853 http-nio-8080-exec-14 INFO JIRA 765x9594x1 gw6wco 10.176.51.138 /secure/AjaxIssueEditAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,853 http-nio-8080-exec-17 INFO JIRA 765x9597x4 gw6wco 10.176.51.138 /rest/hipchat/integrations/1.0/issuepanel/data/BIW-138 [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,853 http-nio-8080-exec-17 INFO JIRA 765x9597x4 gw6wco 10.176.51.138 /rest/hipchat/integrations/1.0/issuepanel/data/BIW-138 [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,845 http-nio-8080-exec-3 INFO JIRA 765x9595x2 gw6wco 10.176.51.138 /rest/api/latest/mypermissions [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,345 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,345 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,337 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,337 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,331 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,331 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,320 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,319 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,314 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,313 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,313 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,298 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    2017-05-09 12:45:24,297 http-nio-8080-exec-15 INFO JIRA 765x9593x1 gw6wco 10.176.51.138 /secure/AjaxIssueAction!default.jspa [c.a.jira.security.WorkflowBasedPermissionManager] EDIT_ISSUES granted by permission scheme and workflow perm granting EDIT_ISSUES to Gruppe 'Systemadministrator'
    
  6. Alexander Richter reporter

    @fcarmario,

    i found the "Bug" by myself. It has nothing to do with the "Create issues and subtask" postfunction.

    I had a mailfunctioning postfunction in the "create issue" transition in the workflow the new issue is created. This made the issue linking fail. Hope it didn't take to much of your time.

    Thank you nevertheless!

    Best Regards Alex

  7. Log in to comment