Forums

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

Fahrenheit to Celsius conversion using dual drop down list . . .can it be done?

Deleted user August 6, 2018

Our customer would like something line a 2 part/section/dual list.

  1. on the left, numbers (a temperature)
  2. on the right, a F or C

the idea is for someone to see a temperature with a F or C next to it

AND

if you change a C to F OR F to C the temperature will adjust/change to F or C.

Can that be done? Is there a plugin that already does this?

1 answer

1 accepted

1 vote
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2018

Interesting idea.  I have not seen this specific kind of request before.   I was thinking that perhaps it might be possible to create a javascript that you can put into a field description or the announcement banner that might be able to calculate the difference and change the field value when a user changes this other field.  But that's kinda tricky to even try to work though in my head.

Instead, I think it might be a more simple approach to use a plugin for Jira such as the Jira Misc Custom Fields.  This plugin allows you to create calculated custom fields, such as a Calculated number field.  It is not exactly the dynamic change you describe.  But it would allow you to have one custom field that is the temp in Fahrenheit, and in turn when that value is saved to the issue, and Jira reindexes the value there, the calculated custom field could then report the value in Celsius as well.   It might not be as elegant of a solution as I think you are looking for, this is one way that you could have a custom field shown on Jira issues to show both numeric values based on the conversion formula.

The way I envision this would be to use a numeric custom field, and not specifically a select (dropdown) field.  However you might be able to make this work with that field type as well.

Deleted user August 9, 2018

Andrew, Thanks for your input. I'll take a look at the Jira Misc Custom Fields.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events