Hey Gang!
We are using the Automation for JIRA add-on to send satisfaction survey emails directly from JIRA when an issue is resolved.
I'd like to set up an experiment to A/B test some variants of the email's contents - is it possible to express a configuration with this add-on which would achieve this? Ideally I would like to perform one action for 50% of issues, and another action for the other 50%. My initial idea was that I could just create a condition which does a modulu of the issue key and performs different behavior for even/odd numbers - but I couldn't find a way to do this.
Thanks!
Hey Joe!
Interesting use case - I think the short answer is, we don't have something that can do a random 50/50 selection of issues yet.
I've raised https://codebarrel.atlassian.net/browse/AUT-306 for now, but we've got quite a few higher priority items in our backlog at the moment so it will be a while before we can get to this.
The only thing I can think of is to use a regex perhaps to match on odd vs even numbers (e.g. http://stackoverflow.com/questions/691519/regular-expression-to-match-only-odd-or-even-number), however you'd have to ensure that they are mutually exclusive since we don't have else-if yet (https://codebarrel.atlassian.net/browse/AUT-42).
Your rule would look like this:
To be honest I think right now you might be better off using a third party system to send the e-mails that's designed for A/B testing and using an Outgoing webhook action to trigger these e-mails being sent somehow (I don't really know of any that do this though :( ).
Sorry I don't have a better solution yet!
Cheers,
Andreas
Hey Andreas,
Thanks for the answer! I'll be sure to vote/watch those issues and then complain noisily until they are resolved ;)
I agree we might want to refactor these emails out to an external service to enable deeper experimentation, but for now I'm looking for the quick-and-dirty approach. Thanks for the suggestion - I'll give the regex approach a try.
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.