Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How would i be able to create a calculated field in Jira?

I would like to create a field in Jira that automatically populates with a value depending on the the values of other custom fields. Please see the attached picture. I would like to work out the cost of a resource depending on role, number of days, price per day and number of weeks required. 

For example; a Business Analyst is £360 a day, needed for 2 days per week for 10 weeks. So the total cost is £7,200.Jira snip 1.PNG

1 answer

0 votes

Hi @Kirsty Mcloughlin 

This is possible but you would need an app like ScriptRunner for Jira for doing calculations.

In your case.

  • Create field1 "Days per week"
  • Create field2 "Number of weeks"
  • Create a field3 "Roles" of type select list
  • Using ScriptRunner create a Scripted field called "Total cost" and you would need to write a script to perform this simple calculation.

Take a look at this page where you will also find examples.

Ravi

Thank you! 

 

Just another question, do yo have a script for adding the value in custom fields together? 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you