Forums

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

read data from Excel and convert to JSON using groovy script in scriptrunner

sgole
Contributor
February 19, 2020 edited

i have readied  data from excel and store in List<List<String>> . the data is below .now i want to convert below data in json format ..how can i do that 

image.png

 

 

3 answers

1 accepted

0 votes
Answer accepted
sgole
Contributor
May 12, 2020

thanks . i have solved myself by referring below link,'

https://www.dev2qa.com/convert-excel-to-json-in-java-example/

0 votes
Mehhss January 7, 2024

May I ask how did you read the excel data from Scriptrunner using groovy script?

0 votes
Nic Brough (Adaptavist)
Contributor
March 3, 2020

I am slightly unsure of what you are trying to do here. 

Your first line of code is reading a .csv file and you want the output in JSON format, I understand that, but what does this have to do with a REST endpoint?

Perhaps if you could explain what you're trying to do overall, rather than think of a specific solution or function you think may help, we can better guide you?

sgole
Contributor
May 7, 2020

@Nic Brough (Adaptavist)  i have modified question please check

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events