Forums

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

We want to have dependent field, which is a number field and that should me non-editable.

sudha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2020

Hi Team,

There is a requirement to have number field which is calculated as another number field. And this feild should be non-editable(greyed out).

Eg: First number field: "Savings"- number field type. users will be having access to this field.

second field should be non-editable, and it should be calculated as Savings / 160.

Please suggest. Can we achieve this with script runner?

Regards,

Sudha              

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Pramodh M
Community Champion
February 1, 2022

Hi @Sarathi Chatterjee 

Once you get the data from here

https://scriptrunner.adaptavist.com/latest/jira/behaviours-api-quickref.html#_getfieldbyname_fieldname

Parsing can be done via Groovy

May I Know the format of your data via screenshot or example?

Thanks,
Pramodh

Sarathi Chatterjee
February 1, 2022

Hey.

Thanks for the prompt reply.

The Data is in the Description field and is like below - 

COUNTERPARTYGROUPNAMEENPARENTTRADEDATECOMMISSIONRATERep変更前Bps
ABC GROUP 12342022/1/610pemji7

The first row is the header we want to extract each column value and create a sub-tasks for each row in the table  -that; the end goal.

So we were hoping to parse the above as text 

 

COUNTERPARTYGROUPNAMEEN|PARENT|TRADEDATE|COMMISSIONRATE|Rep|変更前Bps|ABC GROUP|1234|2022/1/6|10|pemji|7|

 

Thanks

TAGS
AUG Leaders

Atlassian Community Events