node index.js --source.username user --source.password password --source.baseurl https://api.atlassian.com/ex/jira/${cloudId}/rest
{
"schemaVersion": "0.1",
"source": {
"engine": "jira",
"baseurl": "https://api.atlassian.com/ex/jira/cloudId/rest",
"query": "project=PROD ORDER BY status ASC",
"username": "user",
"password": "password",
},
"destination": {
"engine": "postgres",
"connection": "postgresql://postgres:1234@localhost:5432/postgres",
"table": "jira"
},
"fields": {
...
}
}
field processors are chained linearly. the output of one is streamed into the next.
"<field>": {
"input": "RECORD.fields.labels",
"datatype": "text",
"internal": false,
"processors": [{
"processor": "array-filter",
"criteria": ["blah"]
},{
"processor": "string-format",
"criteria": "camelcase"
}]
}
- RECORD [default]: referencing the source item object or a sub record of it
- FIELD: referencing a already processed field record