Francis Martens (Exalate) commented on 21 April 2020
I did a quick check - and apparently there is already quite a bit of information in the ‘Development’ custom field
If you do
throw new Exception("Development field = ${issue.customFields.Development.properties}")
You get
summaryBean: com.atlassian.jira.plugin.devstatus.rest.SummaryBean @6cc721bd[summary = {
pullrequest = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @28161fdc[overall = PullRequestOverallBean {
stateCount = 0, state = 'OPEN', details = PullRequestOverallDetails {
openCount = 0, mergedCount = 0, declinedCount = 0
}
}, byInstanceType = {}],
build = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @8fb145d[overall = com.atlassian.jira.plugin.devstatus.summary.beans.BuildOverallBean @100b0261[failedBuildCount = 0, successfulBuildCount = 0, unknownBuildCount = 0, count = 0, lastUpdated = , lastUpdatedTimestamp = ], byInstanceType = {}],
review = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @1d132216[overall = com.atlassian.jira.plugin.devstatus.summary.beans.ReviewsOverallBean @606e1585[stateCount = 0, state = , dueDate = , overDue = false, count = 0, lastUpdated = , lastUpdatedTimestamp = ], byInstanceType = {}],
deployment - environment = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @30e7bc29[overall = com.atlassian.jira.plugin.devstatus.summary.beans.DeploymentOverallBean @78b7b85e[topEnvironments = [], showProjects = false, successfulCount = 0, count = 0, lastUpdated = , lastUpdatedTimestamp = ], byInstanceType = {}],
repository = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @7cb036cc[overall = com.atlassian.jira.plugin.devstatus.summary.beans.CommitOverallBean @6c62d6e2[count = 1, lastUpdated = 2020 - 04 - 21 T16: 17: 33.000 + 0000, lastUpdatedTimestamp = 2020 - 04 - 21 T16: 17: 33.000 Z], byInstanceType = {
stash = com.atlassian.jira.plugin.devstatus.summary.beans.ObjectByInstanceTypeBean @1d24bbef[count = 1, name = Bitbucket Server]
}],
branch = com.atlassian.jira.plugin.devstatus.rest.SummaryItemBean @24d90898[overall = com.atlassian.jira.plugin.devstatus.summary.beans.BranchOverallBean @59a25c99[count = 0, lastUpdated = , lastUpdatedTimestamp = ], byInstanceType = {}]
}, errors = [], configErrors = []], devSummaryJson: {
"cachedValue": {
"errors": [],
"configErrors": [],
"summary": {
"pullrequest": {
"overall": {
"count": 0,
"lastUpdated": null,
"stateCount": 0,
"state": "OPEN",
"details": {
"openCount": 0,
"mergedCount": 0,
"declinedCount": 0,
"total": 0
},
"open": true
},
"byInstanceType": {}
},
"build": {
"overall": {
"count": 0,
"lastUpdated": null,
"failedBuildCount": 0,
"successfulBuildCount": 0,
"unknownBuildCount": 0
},
"byInstanceType": {}
},
"review": {
"overall": {
"count": 0,
"lastUpdated": null,
"stateCount": 0,
"state": null,
"dueDate": null,
"overDue": false,
"completed": false
},
"byInstanceType": {}
},
"deployment-environment": {
"overall": {
"count": 0,
"lastUpdated": null,
"topEnvironments": [],
"showProjects": false,
"successfulCount": 0
},
"byInstanceType": {}
},
"repository": {
"overall": {
"count": 1,
"lastUpdated": "2020-04-21T16:17:33.000+0000"
},
"byInstanceType": {
"stash": {
"count": 1,
"name": "Bitbucket Server"
}
}
},
"branch": {
"overall": {
"count": 0,
"lastUpdated": null
},
"byInstanceType": {}
}
}
},
"isStale": false
}], type: UNHANDLED, class: class com.exalate.basic.domain.hubobject.v1.BasicHubCustomField, uid: null, id: 10000, locked: false, description: Development Summary Field
for Jira Software use only., name: Development
Found some additional information here
You should be able to dig further into this, extract the information you need in the outgoing sync, and format it on the incoming sync on the other side