Message to show when validation fails is not displaying

Issue #507 resolved
Lynda Hooper created an issue

Hello - Evaluating your product and I am using it to control the progression of a parent item if a blocking item is linked to it. It works as expected, except the custom message will not display when the validation fails. Is my message too long or is this a known issue? I have attached screenshots of the validator & the error that displays instead of the custom message.

Thank you!

Comments (9)

  1. Fidel Castro Armario repo owner

    Hi Linda,

    It's very strange. Your message is not too long. It seems that some kind of error is happening.

    Can you check your log file and look for error messages? You can send your server's log file to me at: support@workflowarts.com, and I will look for the error message.

  2. Lynda Hooper reporter

    Hello Fidel - Thank you for getting back to me so quickly. I did figure it out for my environment. I added a comment box and once the comment is added, and they click pass, the message will display. For some reason it does not like it if I do not have another validator before this one. We are currently on Jira 6.4 and plan to upgrade in the near future. Could that be why I get the error? I actually don’t have anything in the Jira logs for this and I specifically recreated the condition and checked the logs to make sure I didn’t miss something.

    Thank you!

  3. Fidel Castro Armario repo owner

    Hi Linda,

    The plugin supports JIRA from 6.2.3 to 7.3.1. You shouldn't experiment any difficulty in JIRA 6.4.

    Is it possible that you attach an XML export of your workflow, and tell me the transition where you are experimenting the problem?

    Otherwise, please attach a screenshot with the conditions tab of the transition.

    Which plugin are you using for the first validation?

  4. Lynda Hooper reporter

    Hello Fidel -

    I have gathered what you have requested for review. I'm not sure of which plug-in provides the comment box, so I gave you screenshots of what we have. I greatly appreciate your help.

    Thank you!

  5. Fidel Castro Armario repo owner

    Hi Linda,

    I have used a validator with a similar configuration as yours on JIRA 6.4.13 and JIRA 7.3.1 with JIRA Workflow Toolbox 2.2.30, and it works as expected, i.e., it shows the custom error message when the validation fails.

    Please, try replacing your current validation with "Boolean validator with math, date-time or text-string terms" using the following boolean expression:

    count(filterByIssueType(linkedIssues("is blocked by"), "Bug")) = count(filterByStatus(filterByIssueType(linkedIssues("is blocked by"), "Bug"), "Ready for Pre-Prod Install"))
    

    That validator is equivalent to your current one. Please, let know if the problem with the validation message persists.

  6. Lynda Hooper reporter

    Hello Fidel -

    That works perfectly! Thank you so much for your help with this.

    Regards -

    Lynda

  7. Log in to comment