Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
I'm trying to get the only key and value of the json response of JIRA using JOLT api but unable to get it.Please provide jolt spec as per below output
Labels:
- Labels:
-
Apache NiFi
Explorer
Created 08-26-2021 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
JIRA API
Here is my JOLT spec:
[
{
"operation": "shift",
"spec": {
"projects": {
"*": {
"issuetypes" : {
"*":{
"fields":{
"*":{
"name" :"name",
"key" :"key"
}
}
}
}
}
}
}
},
{
"operation": "shift",
"spec": {
"name" :"Display",
"key" :"filed"
}
}
]
I'm getting output like this:
expected output like below:
{{
"fields": [
{
"field": "active",
"display": "Active"
},
{
"field": "impact",
"display": "Impact"
},
{
"field": "knowledge",
"display": "Knowledge"
},
}
}
]
1 REPLY 1
Explorer
Created 08-30-2021 09:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plz provide any solution for below