Some Post Function options pending then timeout when adding them to workflow

Issue #145 resolved
Andrew McAllister created an issue

Greetings~

We have jiratoolbox license on one jira instance. works great.

Installed trial on another Jira instance. 6.3.1 Most Post functions seem work however the below two options get stuck pending to the point authentication token expires and request fails. While pending, the browser is just waiting for a response.

Set a field as a function of other fields Copy a parsed text to a field

both systems are running most up to date version of plugin and same major revision of Jira. 6.3.x

Any thoughts when other jira toolbox post functions work well and load quickly?

Best,

Andrew

Comments (14)

  1. Fidel Castro Armario repo owner

    Hi Andrew,

    It's a very strange issue. I need some information:

    1. Which version of the plugin are you using in both JIRA instances?
    2. Did you installed a trial license key in your new JIRA instance? You can check it up at Administration > Add-ons > Manage Add-ons > JIRA Workflow Toolbox > License key.
    3. Can you please, attach a screenshot of a transition's post-function tab which have one of the failing plugin's post-function? I would like to see all the post-functions being executed in a transition, their configuration and execution order.

    Best regards,

    Fidel

  2. Andrew McAllister reporter

    Hi Fidel.

    1. Running version 2.1.32

    2. Evaluation, Unlimited-user commercial license, Standard, expires 22/Jul/15

    License SEN: SEN-L5993231

    1. I haven't actually been able to add post function. This is a brand new workflow, so only defaults. In particular adding it to the "Create" workflow transition. Tried other workflows and steps with same result.

    I click "Add post function" select "Set a field as a function of other fields" and click "Add" and it gets stuck vs opening post function configuration window.

    Screen Shot 2015-07-05 at 7.06.53 PM.png

  3. Andrew McAllister reporter

    It seems like its waiting for a response which on apparently non affected post function types and the environment that is working fine, it gets a 200 OK within a second or two and then proceeds to post function item config screen. Post function items that get stuck on new environment will time out after 2.7 minutes. I need to run some packet captures on both servers. Will send along additional info I discover anything.

    Best, Andrew

  4. Andrew McAllister reporter

    Hi Fidel,

    Sorry for delay. did a tail on atlassian-jira.log, atlassian-jira-http-access.log, and atlassian-jira-security.log. Then ran through the process of editing workflow and trying to add post function. After timeout, nothing related written to logs. I will send some exports however may be later in the week.

    Wanted to send some updates incase nothing showing indicated anything in itself. I also restarted the jira instance for kicks. Same result.

    Best,

    Andrew

  5. Fidel Castro Armario repo owner

    Hi Andrew,

    You can set your JIRA instance in DEBUG mode at "Logging & Profiling". To do it you have to navigate through *Administration > System > Logging & Profiling > Default Loggers > Default > Debug".

    This way you set your JIRA instance at a very verbose mode to the log file.

    One question: Are you experiencing this problem only with "Set a field as a function of other fields" and "Copy a parsed text to a field", and no other post-function, condition or validator of JIRA Workflow Toolbox, or any other plugin?

    In case your answer to my question is affirmative: Can you please try installing some previous version of the plugin, for example, 2.1.31, 2.1.28 and 2.1.25, and check whether the problem persists?

  6. Andrew McAllister reporter

    Hi Fidel,

    i'll send over some verbose logging later today. In response to your question, I haven't tested every post function but so far the two above don't work but other ones do. example: Set or create a user property works fine.

  7. Fidel Castro Armario repo owner

    Andrew, I have some questions:

    • Can you try "Validation based on JQL query" validator?
    • Can you try "Add a comment" and "Log work" post-functions?
    • How many users do you have in your failing instance of JIRA, approximately, and how many in the instance that works correctly?
    • Do you have any external LDAP directory to provide your JIRA users in any of both JIRA instances?

    I suspect it may have something to do with the parameter "Run as" introduced in version 2.1.32.

    Thanks.

  8. Fidel Castro Armario repo owner

    Hi Andrew, Can you please try version 2.1.33_beta_14? I expect that the problem has been solved after redesigning the logic around parameter "Run as".

  9. Fidel Castro Armario repo owner

    Fixed in just released version 2.1.33. Please, confirm it by closing the issue. Thanks.

  10. Andrew McAllister reporter

    Hi Felix, sorry for delay. Been crazy busy and pulled away but applying the new 2.1.33 version, impacted post functions config pages come up instantly. Thank you! Can go ahead and buy plugin then for our 2nd instance.

    Glad robert from other ticket could work with you on this.

    Thanks again~!

    Best,

    Andrew

  11. Log in to comment