Forums

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

ScriptRunner Read Description Field

Sarathi Chatterjee February 1, 2022

Hi,

we want to parse the contents of a table using script-runner.

Any suggestion how we can do this please ? 

Thank you,

Sar.

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
atlassian, out of office, loom, confluence, async collaboration, meeting recaps, remote teamwork, team alignment, knowledge sharing, AI-powered notes, productivity tools, workforce continuity, teamwork collection

Put your meeting notes on autopilot with Loom + Confluence

AI-powered meeting notes keep work moving even if you’re out of the office. Enjoy your well-deserved time off and return refreshed, confident you’ll catch up in no time.

Learn more
AUG Leaders

Atlassian Community Events