The issue or pull request was referenced from another issue or pull request.
| Issue type | Issue events API | Timeline events API |
|---|---|---|
|
X |
This events properties do not use the same structure as the issue event object common properties. The following properties are returned for this event.
| Name | Type | Description |
|---|---|---|
actor |
object |
The person who generated the event. |
created_at |
string |
The timestamp indicating when the cross-reference was added. |
updated_at |
string |
The timestamp indicating when the cross-refererence was updated or created, if the cross-reference is never updated. |
source |
object |
The issue or pull request that added a cross-reference. |
source[type] |
string |
This value will always be "issue" because pull requests are of type issue. Only cross-reference events triggered by issues or pull requests are returned in the Timeline Events API. To determine if the issue that triggered the event is a pull request, you can check if the source[issue][pull_request object exists. |
source[issue] |
object |
The issue object that added the cross-reference. |
event |
string |
The event value is "cross-referenced". |