Assign a spot check tag to a portion of tickets using an RNG


I would like to assign a "Spot check" hidden tag to a portion of tickets that get moved to done.

I had hoped to be able to use a simple `if (Math.random() > 0.9){<add tag method>}` but I don't appear to be able to.

How can I randomly assign a tag to a portion of tickets as they move through to a particular state so an external stakeholder can ensure they are up to an expected standard.


Official comment

Hello Orrin,

unfortunately there is no such method in our current Workflow Language. We are redesigning our workflows right now, and after release this method will be available, but for now answer is no, you can't use it, unfortunately.

Any timeline or further info on what those improvements might be?

Outside of workflows I could implement something with a bit of manual effort and the api. Whether I do this or not depends on the timeline for improvements to workflows.


We don't announce the timeline or roadmap yet, but please watch the updates in our blog: The announce should appear there.

BTW, have you taken a look at this feature? You can now use REST API methods in workflows.

Please let me know if I can answer any other questions. Thank you!


Please sign in to leave a comment.