When changelog link fieldType custom return for Jira On Prem

priyank patel March 29, 2019

Hey,

When we send Rest Request to our Jira On Prem instance for change log, it return confusing result.

 

Questions:

1. When Jira return field type "custom" for Link Items? (Note: We've created custom link type, created history and checked changelog details but it was showing as fieldtype "jira" for custom link type too.)

2. When it show result with data "to" null but "toString" is having only id? (Note: it doesn't return which type of link type associated like "This issue implements APENG-1672")

 

Here is sample request URL and response details,

 

http://jiraOnPremInstance/rest/api/2/issue/issueId?expand=changelog

 

{ "changelog": {
"histories": [{
"id": "2085040",
"author": {
...
},
"created": "2018-12-17T09:41:31.996-0800",
"items": [
{
"field": "Link",
"fieldtype": "custom",
"from": null,
"fromString": null,
"to": null,
"toString": "APENG-1672"
}
]
},
{
"id": "2085079",
"author": {
...
},
"created": "2018-12-17T09:44:12.991-0800",
"items": [
{
"field": "Link",
"fieldtype": "jira",
"from": null,
"fromString": null,
"to": "APENG-1672",
"toString": "This issue implements APENG-1672"
}
]
}]
}
}

Here is UI screenshot,

JiraDoc.png

 

Can anyone help us to understand "fieldtype" custom for Link type.

 

Regards,

OpsHub

 

0 answers

Suggest an answer

Log in or Sign up to answer