event of issue update

Issue #687 new
Стас Peepoy created an issue

Hi!

I'm using toolbox postfunction "write fields in linked issues" Also we have automation that transition issues by event "issue updated"

But there is no event if i update issue with toolbox postfunction

What should i do? I cannot use "execute transition" postfunction by toolbox in "Parrent issue" because it need to be affected on 40+ linked issues at the same time (it will take too much time) and i will get timeout error

Comments (17)

  1. Fidel Castro Armario repo owner

    Hi @peepoy,

    Can you, please, confirm the version of JIRA Workflow Toolbox you are using?

    Have you tried "Execute transition (delayed execution)" instead? That field carries out asynchronous transition executions, and shouldn't produce timeout problem.

  2. Стас Peepoy reporter

    I tried delayed execution and still got timeout error Maybe i did somethig wrongng? You can see my postfunction screenshot WhatsApp Image 2017-07-20 at 15.43.45.jpeg

  3. Fidel Castro Armario repo owner

    Hi @peepoy,

    Please, tell me the version of JIRA Workflow Toolbox and JIRA you are executing.

    I don't find anything wrong with your configuration, but I cannot see all the post-functions you are executing. Please, attach a XML export of your workflow and tell me which transition is causing the problem.

    Try moving all your JWT post-functions up in execution order before the default system post-functions. Particularly move your 9th post-function to 5th position in execution order.

    Are you sure that the timeout is caused by 4th post-function? What happens if you disable it? In order to disable it you only have to enter boolean expression false in parameter Conditional execution.

  4. Стас Peepoy reporter

    I use version 2.2.39 with JIRA 6.4.5

    If i export my workflow in xml - plugin postfunctions will not be exported. Here is my postfunctions (sorry for photos its our security rules, no usb no internet) WhatsApp Image 2017-07-21 at 10.52.20.jpeg WhatsApp Image 2017-07-21 at 10.52.21.jpeg WhatsApp Image 2017-07-21 at 10.52.2.jpeg

  5. Fidel Castro Armario repo owner

    Please, try moving your current 3, 5, 6, 7 and 8 post-functions down, in order to force JWT post-function to be executed before.

  6. Стас Peepoy reporter

    Hi I did that and result is the same. asynchronous transition executions not happening

  7. Fidel Castro Armario repo owner

    Hi @peepoy,

    You described initially your problem as a "timeout error", but I assumed that the transition on linked issues were executed successfully. Now, you describe the problem as "transition executions not happening".

    Did the changes made in the execution order of post-function made any difference?

  8. Стас Peepoy reporter

    Im sorry i wrote that "asynchronous transition executions not happening" It means that timeout problem does not gone. Maybe it happens because when i trigger "child" transitions they have postfunctions too and i just want too much from one transition (like a cardhouse)? I try disable some of them and tell you about the result

  9. Стас Peepoy reporter

    Still timeout, i made transition with execute transition pf on 30 linked issues, after timeout error result was fine, but timeout error stll error for users

  10. Fidel Castro Armario repo owner

    Hi @peepoy,

    Please, attach the XML export of the workflows implied:

    1. The workflow of the transition that execute transitions in linked issues.
    2. The workflow of the linked transitions.

    Please, tell me the name of the transitions implied in each workflow.

    Post-functions configurations are included in the XML export.

    If you prefer it, you can send the workflow to support@workflowarts.com.

  11. Fidel Castro Armario repo owner

    Hi @Stanislav Ryzhov,

    This problem should have been fixed in version 2.3.3_beta_3, attached to this issue. With this version issue events should be triggered.

    Sorry for the delay in the solution.

  12. Log in to comment