Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically keep score based on JSD answers?

lukec
Contributor
September 28, 2020

Hi, I wonder if I make a JSD Request Type that has various multiple choice questions, can I keep a dynamic, running 'score' based on the answers?

ex.. question 1: How old are you? #2 Where are you from #3 Do you have a pet..

so if someone is below 50, they get 1 point, if they are above they get 2.

If someone is from Canada they get 1 point, if theyre from USA they get 2. 

Dog gets 1 point, cat gets 2. 

Is there a way that I can add up the points generated by the answers, so that when I'm the agent working the ticket, I can see the total score?

below 50, from canada, with a dog would show me 3. Is this possible?

1 answer

1 accepted

1 vote
Answer accepted
Bartosz Ornatowski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 28, 2020

@lukec 

I don't think you could do that out of the box in JSD.

You could look for a marketplace app that can execute code which you could write to achieve what you are describing here.

Another option would be to create another dedicated service e.g. on AWS lambda or any sort of server that JSD Automation could call via a webhook with all the issue data, that the service would anlyze, score, and respond back to JSD with a field update request / status transition / comment or a mix of those.

That's at least what I could think of.

Cheers,
Bart

Suggest an answer

Log in or Sign up to answer