Issue Events samples

Table of contents

Issue Created

Issue Created events are received when an issue is created

{ "issue": { "id": "111772", "self": "https://rixterdev.atlassian.net/rest/api/2/111772", "key": "COOL-133", "fields": { "statuscategorychangedate": "2024-12-04T18:35:59.159+0100", "customfield_10190": null, "customfield_10191": null, "customfield_10193": null, "customfield_10194": null, "customfield_10195": null, "customfield_10196": null, "fixVersions": [], "customfield_10110": null, "customfield_10198": null, "customfield_10111": null, "customfield_10199": null, "resolution": null, "customfield_10112": null, "customfield_10113": null, "customfield_10114": null, "customfield_10104": null, "customfield_10225": null, "customfield_10105": null, "customfield_10226": null, "customfield_10227": null, "customfield_10106": null, "customfield_10228": null, "customfield_10229": null, "customfield_10109": null, "lastViewed": null, "customfield_10180": null, "customfield_10181": null, "customfield_10182": null, "customfield_10183": null, "customfield_10184": null, "customfield_10185": null, "customfield_10186": null, "customfield_10187": null, "customfield_10220": null, "customfield_10100": null, "customfield_10221": null, "priority": { "self": "https://rixterdev.atlassian.net/rest/api/2/priority/3", "iconUrl": "https://rixterdev.atlassian.net/images/icons/priorities/medium.svg", "name": "Medium", "id": "3" }, "customfield_10222": null, "customfield_10101": null, "customfield_10223": null, "customfield_10102": [], "customfield_10103": null, "customfield_10224": null, "labels": [], "customfield_10214": null, "customfield_10215": null, "customfield_10216": null, "customfield_10217": null, "aggregatetimeoriginalestimate": null, "timeestimate": null, "customfield_10218": null, "versions": [], "customfield_10219": null, "issuelinks": [], "assignee": null, "status": { "self": "https://rixterdev.atlassian.net/rest/api/2/status/10000", "description": "", "iconUrl": "https://rixterdev.atlassian.net/", "name": "To Do", "id": "10000", "statusCategory": { "self": "https://rixterdev.atlassian.net/rest/api/2/statuscategory/2", "id": 2, "key": "new", "colorName": "blue-gray", "name": "New" } }, "components": [], "customfield_10170": null, "customfield_10171": null, "customfield_10172": null, "customfield_10173": null, "customfield_10174": null, "customfield_10175": null, "customfield_10176": null, "customfield_10177": null, "customfield_10178": null, "customfield_10211": null, "customfield_10179": null, "customfield_10212": null, "customfield_10213": null, "customfield_10203": null, "customfield_10204": null, "aggregatetimeestimate": null, "customfield_10207": null, "customfield_10208": null, "customfield_10209": null, "creator": { "self": "https://rixterdev.atlassian.net/rest/api/2/user?accountId=5f9d70a071ab9e006afeb3be", "accountId": "5f9d70a071ab9e006afeb3be", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "24x24": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "16x16": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "32x32": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png" }, "displayName": "Rickard Atthem", "active": true, "timeZone": "Europe/Berlin", "accountType": "atlassian" }, "subtasks": [], "customfield_10161": null, "customfield_10162": null, "customfield_10163": null, "reporter": { "self": "https://rixterdev.atlassian.net/rest/api/2/user?accountId=5f9d70a071ab9e006afeb3be", "accountId": "5f9d70a071ab9e006afeb3be", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "24x24": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "16x16": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "32x32": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png" }, "displayName": "Rickard Atthem", "active": true, "timeZone": "Europe/Berlin", "accountType": "atlassian" }, "customfield_10164": null, "aggregateprogress": { "progress": 0, "total": 0 }, "customfield_10165": null, "customfield_10166": null, "customfield_10167": null, "customfield_10200": null, "customfield_10201": [], "customfield_10168": null, "customfield_10169": null, "customfield_10202": [], "progress": { "progress": 0, "total": 0 }, "votes": { "self": "https://rixterdev.atlassian.net/rest/api/2/issue/COOL-133/votes", "votes": 0, "hasVoted": false }, "issuetype": { "self": "https://rixterdev.atlassian.net/rest/api/2/issuetype/10100", "id": "10100", "description": "Stories track functionality or features expressed as user goals.", "iconUrl": "https://rixterdev.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10315?size=medium", "name": "Story", "subtask": false, "avatarId": 10315, "hierarchyLevel": 0 }, "timespent": null, "customfield_10150": null, "customfield_10151": null, "customfield_10152": [], "project": { "self": "https://rixterdev.atlassian.net/rest/api/2/project/10001", "id": "10001", "key": "COOL", "name": "Cool", "projectTypeKey": "software", "simplified": false, "avatarUrls": { "48x48": "https://rixterdev.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10407", "24x24": "https://rixterdev.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10407?size=small", "16x16": "https://rixterdev.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10407?size=xsmall", "32x32": "https://rixterdev.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10407?size=medium" } }, "customfield_10153": null, "customfield_10154": null, "customfield_10155": null, "aggregatetimespent": null, "customfield_10156": null, "customfield_10157": null, "customfield_10149": null, "resolutiondate": null, "workratio": -1, "issuerestriction": { "issuerestrictions": {}, "shouldDisplay": false }, "watches": { "self": "https://rixterdev.atlassian.net/rest/api/2/issue/COOL-133/watchers", "watchCount": 0, "isWatching": true }, "created": "2024-12-04T18:35:58.286+0100", "customfield_10140": null, "customfield_10141": null, "customfield_10020": null, "customfield_10142": null, "customfield_10021": null, "customfield_10143": null, "customfield_10144": null, "customfield_10145": null, "customfield_10146": null, "customfield_10137": null, "customfield_10016": null, "customfield_10017": null, "customfield_10138": null, "customfield_10018": { "hasEpicLinkFieldDependency": false, "showField": false, "nonEditableReason": { "reason": "EPIC_LINK_SHOULD_BE_USED", "message": "To set an epic as the parent, use the epic link instead" } }, "customfield_10139": null, "customfield_10019": "1|zz0bq7:", "updated": "2024-12-04T18:35:58.286+0100", "timeoriginalestimate": null, "customfield_10130": null, "description": null, "customfield_10131": null, "customfield_10010": null, "customfield_10132": null, "customfield_10133": null, "customfield_10134": null, "customfield_10014": null, "customfield_10135": null, "timetracking": {}, "customfield_10136": "PLOPP", "customfield_10015": null, "customfield_10126": null, "customfield_10005": null, "customfield_10127": null, "customfield_10006": null, "customfield_10128": null, "customfield_10007": null, "security": null, "customfield_10008": null, "customfield_10129": null, "attachment": [], "customfield_10009": null, "summary": "Test fetch data from SWAPI", "customfield_10120": null, "customfield_10121": null, "customfield_10001": null, "customfield_10122": null, "customfield_10123": null, "customfield_10002": [], "customfield_10124": null, "customfield_10003": null, "customfield_10125": null, "customfield_10004": null, "customfield_10115": null, "customfield_10116": null, "customfield_10117": null, "environment": null, "customfield_10118": null, "customfield_10119": null, "duedate": null } }, "issue_event_type_name": "issue_created", "changelog": { "id": "214772", "items": [ { "field": "priority", "fieldtype": "jira", "fieldId": "priority", "from": null, "fromString": null, "to": "3", "toString": "Medium" }, { "field": "reporter", "fieldtype": "jira", "fieldId": "reporter", "from": null, "fromString": null, "to": "5f9d70a071ab9e006afeb3be", "toString": "Rickard Atthem", "tmpFromAccountId": null, "tmpToAccountId": "5f9d70a071ab9e006afeb3be" }, { "field": "Status", "fieldtype": "jira", "fieldId": "status", "from": null, "fromString": null, "to": "10000", "toString": "To Do" }, { "field": "summary", "fieldtype": "jira", "fieldId": "summary", "from": null, "fromString": null, "to": null, "toString": "Test fetch data from SWAPI" } ] }, "webhookEvent": "jira:issue_created", "user": { "self": "https://rixterdev.atlassian.net/rest/api/2/user?accountId=5f9d70a071ab9e006afeb3be", "accountId": "5f9d70a071ab9e006afeb3be", "avatarUrls": { "48x48": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "24x24": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "16x16": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png", "32x32": "https://secure.gravatar.com/avatar/bdcb3758ad9c67fd3ed9abb06c6267e8?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FRA-2.png" }, "displayName": "Rickard Atthem", "active": true, "timeZone": "Europe/Berlin", "accountType": "atlassian" }, "matchedWebhookIds": [ 10762, 10566, 10498, 10465, 10597, 10599 ], "timestamp": 1733333758779 }

JSON Path samples

Retrieve the ID of the user who performed the action that triggered this event.

$.user.accountId

Get the issue Key

$.issue.key

Issue Commented

JSON Path samples

Retrieve the ID of the user who performed the action that triggered this event.

Get the comment body