I have a custom field called "Project Cost Performance Index" custom ID 12202
The values in this field are numeric and mean:
- If CPI is less than 1, the task is over budget.
- If CPI is one, the task is on budget.
- If CPI is greater than 1, the task is under budget.
I have another custom field called "Project Cost Status" custom ID 12203
But I want it to populate the text status based on if the Project Cost Performance Indicator is less than 1 (Over Budget), is 1 (On Budget) and greater than 1 (Under Budget).
I can do this easily with an export to Excel and conditional formatting but want it all in JIRA.
Anyone help with the script to do this? I want to just add it to the Project Cost Status description field, right?