Forums

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

ScriptRunner Behavior (custom field autofill)

Manoj
Contributor
March 9, 2023

Hello Mates,

Seeking your help to get solution, i have used else if function to automate custom field based on some fields, which is partially working. This is based on financial year selection with  few conditions (custom fields).

 

if (cfFY.getValue() == "22/23"){
if (cfAccountAssignment.getValue() == "Capitalsheet"){
if (cfLocation.getValue() == "UK"){
if (cfPPCLocal.getValue() == "VPC"){
switch (cfFinanceService.getValue()){
case "Application Testing & QA" : cfAssetCostCenter.setFormValue("90000009");break
========================================================
This above script is working but below with FY 23/24 is not working with similar functionality
================below is not working
if (cfFY.getValue() == "23/24"){
if (cfAccountAssignment.getValue() == "Capitalsheet"){
if (cfLocation.getValue() == "UK"){
if (cfPPCLocal.getValue() == "VPC"){
switch (cfFinanceService.getValue()){
case "Application Testing & QA" : cfAssetCostCenter.setFormValue("900000100");break

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events