Forums

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

Calculation of how may times a field value appears

marina-s September 8, 2020

hello to all 

I am not good in writing scripts ,but i need for new project some calculations,hope i'll get here some help.

This is a survey , 30 questions' each with answer,true or false (0,1),in addition to each question there is "weight":minor,medium and high.

there is a list of conditions :

good task:3 questions - high and false (0)

bad task :3 questions - high+2 medium ' false (0)

i need to calculate just false 

is it possible to perform a calculation with script runner or JWT ?

thanks in advance

 

 

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Mariana_Pryshliak_Saasjet
Atlassian Partner
September 8, 2020

Hello @marina-s 

If I understood you properly, the same solution has been described in this discussion:

https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Calculate-sum-of-values/qaq-p/355398

I hope it helps.

Best regards, Mariana

marina-s September 8, 2020

Hi ,

thanks for the reply. 

i did not explain myself correctly , i will try  again 

 

i have custom field cf - 30 , singe choice cf -0 or 1

weight for all cf question there is a weight - single choice -minor,medium,high and it is constant 

i have a screen with all questions and support team fill it up - 0 or 1, weight cf must be hidden.

how i link between weight to question ? 

issue screen.JPG

how to  calculate the  sum of all questions with 0 and wright it to another field (just 1 issue on time) according the condition of weight 

the cf 

screen in issue 

 

cf- que.JPGCF- weight.JPG

 

i hope to get help with 

 

thanks again 

marina-s September 9, 2020

i did it myself using behaviors

thanks 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events