Query
query JiraTicketWorklogs($issueKey: ID!) {
jiraTicketWorklogs(issueKey: $issueKey) {
items {
id
author {
accountId
displayName
avatarUrl
}
comment {
format
raw
rawText
markdown
wikiMarkup
}
timeSpent
timeSpentSeconds
startedAt
}
total
limit
offset
cache {
source
stale
fetchedAt
}
}
}Variables
{
"issueKey": "id"
}Response
{
"data": {
"jiraTicketWorklogs": {
"items": [
{
"id": "id",
"author": {
"accountId": "string",
"displayName": "string",
"avatarUrl": "string"
},
"comment": {
"format": "ADF",
"raw": "value",
"rawText": "string",
"markdown": "string",
"wikiMarkup": "string"
},
"timeSpent": "string",
"timeSpentSeconds": 1,
"startedAt": "string"
}
],
"total": 1,
"limit": 1,
"offset": 1,
"cache": {
"source": "LIVE",
"stale": true,
"fetchedAt": "string"
}
}
}
}Queries
jiraTicketWorklogs
Returns a Jira worklog page.
QUERY
jiraTicketWorklogs(snapshotTotal: Int, issueKey: ID!, limit: Int, offset: Int): JiraWorklogPage!Arguments
snapshotTotal
Int
Total from the first page. Pins subsequent offsets to that snapshot until the client refreshes.
issueKey
ID!
required
The issue key used to filter or perform the operation.
limit
Int
default:50
Maximum number of records to return. Defaults to 50.
offset
Int
default:0
Number of matching records to skip. Defaults to 0.
Returns
items
[JiraWorklog!]!
Items associated with this Jira worklog page.
total
Int!
The total associated with this Jira worklog page.
limit
Int!
The limit associated with this Jira worklog page.
offset
Int!
The offset associated with this Jira worklog page.
cache
The cache associated with this Jira worklog page.
Query
query JiraTicketWorklogs($issueKey: ID!) {
jiraTicketWorklogs(issueKey: $issueKey) {
items {
id
author {
accountId
displayName
avatarUrl
}
comment {
format
raw
rawText
markdown
wikiMarkup
}
timeSpent
timeSpentSeconds
startedAt
}
total
limit
offset
cache {
source
stale
fetchedAt
}
}
}Variables
{
"issueKey": "id"
}Response
{
"data": {
"jiraTicketWorklogs": {
"items": [
{
"id": "id",
"author": {
"accountId": "string",
"displayName": "string",
"avatarUrl": "string"
},
"comment": {
"format": "ADF",
"raw": "value",
"rawText": "string",
"markdown": "string",
"wikiMarkup": "string"
},
"timeSpent": "string",
"timeSpentSeconds": 1,
"startedAt": "string"
}
],
"total": 1,
"limit": 1,
"offset": 1,
"cache": {
"source": "LIVE",
"stale": true,
"fetchedAt": "string"
}
}
}
}