Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Put automatically a JSON file on one line for a componant Jira output

Hi,

 

During my searching, I would like to know if there is a tool in Talend to transform automatically a json file (indented on many lines) to a json file with "only one" line in order to work it with the Jira output.

 

Thanks in advance,

 

Alex

Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hello,

Could you please elaborate your case with an example with input and expected output values?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi, yes sure !

 

For instance, I would like to transform this file :

 

{
	"fields": {
		"project": {
			"key": "TRL"
		},
		"summary": "ALEX IMPORT A TASK",
		"description": "ALEX IMPORT A TASK",
		"issuetype": {
			"name": "Bug_webapp"
		}
	}
}

to one line automatically :

 

{ 	"fields": { 		"project": { 			"key": "TRL" 		}, 		"summary": "ALEX IMPORT A TASK", 		"description": "ALEX IMPORT A TASK", 		"issuetype": { 			"name": "Bug_webapp" 		} 	} }

Because now I have to use, everytime, manually the shortcut ctrl + J to join the content of the file on one line to prepare this JSON file for the outputJiraComponant.

 

Have you got any ideas ?

 

Best regards