data class IssueData(val imsProject: String, val expand: String, val jiraId: String, val self: String, val key: String, var editmeta: JsonObject, var changelog: ChangeLogContainer, val fields: MutableMap<String, JsonElement>, var names: JsonObject, var schema: JsonObject, val comments: MutableMap<String, JiraComment> = mutableMapOf()) : IncomingIssue

Data of a single issue from the API to the database

Parameters

imsProject

the ims project the issue belongs to

expand

the expand string

jiraId

the id of the issue in Jira

self

the self link

key

the key of the issue

editmeta

the edit meta data

changelog

the changelog

fields

the fields

names

the names

schema

the schema

comments

the comments

Constructors

Link copied to clipboard
constructor(imsProject: String, expand: String, jiraId: String, self: String, key: String, editmeta: JsonObject, changelog: ChangeLogContainer, fields: MutableMap<String, JsonElement>, names: JsonObject, schema: JsonObject, comments: MutableMap<String, JiraComment> = mutableMapOf())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var editmeta: JsonObject
Link copied to clipboard
Link copied to clipboard
val fields: MutableMap<String, JsonElement>
Link copied to clipboard
var id: ObjectId?

MongoDB ID

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard
var names: JsonObject
Link copied to clipboard
var schema: JsonObject
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun createIssue(imsProject: IMSProject, service: SyncDataService): Issue
Link copied to clipboard
open suspend override fun fillImsIssueTemplatedFields(templatedFields: MutableMap<String, String>, service: SyncDataService)
Link copied to clipboard
open suspend override fun identification(): String
Link copied to clipboard
open suspend override fun incomingTimelineItems(service: SyncDataService): List<IncomingTimelineItem>
Link copied to clipboard
open suspend override fun markDone(service: SyncDataService)