Hi All,
I have set up automation in one of my Jira projects to auto set the Assignee based on the returned value of a web service.
For this project, there are 12 entities a user can be from, and I need to set the Assignee based on that value.
For 11 of the 12, it works perfectly. For one, it doesnt match any of the "if" blocks
In this instance, the webservice correctly returns AAPMI2 (as per the log)
but it doesnt match the IF block checking that value.
I have tried copy/pasting the text from the Return value into the IF condition (no change)
I have tried republishing the rule (no change)
Any suggestions?
Regards
Adrian
Hey Adrian,
Just to troubleshoot for now, maybe copy the rule and pull all of the other IFs out and test it with just that one condition and see what happens.
Hi John,
Sorry for the delay in getting back to you (ive been off sick).
1. Pulling the "IF" out to its own rule did work successfully.
2. The "big" rule has now "magically" started working and matching that value.
Nothing i did to the original one, just after setting its own rule up, the other automation just started working.
I appreciate all the responses
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
also, if I validate the webhook, it returns the expected value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you try to print a log with the webhook smart value that you are evaluating just before the if condition please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.