You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi!
Is it possible to have a custom field that will be filled with an automated score on my issue, depending of the value of 2 other custom fields filled manually that will define the complexity and impact of the issue.
Example :
Possible values for complexity :
Possible values for impact :
I would like to have my score field to display the numerical result of = complexity * impact.
This score will then help us address our priorities or filter more easily our work.
Thanks for your help!
Hi @Vien Minh Van ,
You can try to do that using the scriptRunner add-ons and you can try this script there:
def complexity = issue.getCustomFieldValue(customFieldManager.getCustomFieldObjectByName("Complexity"))
def impact = issue.getCustomFieldValue(customFieldManager.getCustomFieldObjectByName("Impact"))
if (complexity && impact) {
def score = 0
switch (complexity) {
case "High":
score = 1
break
case "Medium":
score = 2
break
case "Low":
score = 3
break
}
switch (impact) {
case "High":
score *= 3
break
case "Medium":
score *= 2
break
case "Low":
score *= 1
break
}
return score
} else {
return null
}
Thanks for your help! What you suggest requires an add-on ($).
Would there be any ways to do it natively with what’s available by default in Jira?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Native Jira does not provide a built-in feature to automatically calculate a custom field's value based on the value of other fields.
You can either use a plugin like ScriptRunner or write a custom plugin to achieve this functionality.
Another possible workaround is to use a scripted field to calculate the score and display it in the issue navigator or on the issue view screen, but this won't be editable like a custom field.
I hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.