I would like to sync the Jira linked issues (or dependencies) with my app. After importing a parent issue along with its “linked issues”, a websocket even is established
Problem: any subsequent data changed to imported linked issues or creation/deletion of “linked issues” did not trigger any websocket event from Jira
Is there a solution for this?
This picture meant to clarify the data set I’m talking about
Not currently.
If you look through the list of Jira webhook events, you’ll see there is only issuelink_created
and issuelink_deleted
, but no issuelink_updated
.
Also, event listeners can’t detect changes on any Issues linked to a ‘parent’ Issue, only changes to the ‘parent’ Issue itself.
Search JAC and see if there is are any corresponding feature requests. Probably a thread that has branched off JRACLOUD-8505.
PS. Don’t think of Issue links as being a parent > child relationship; they have nothing to do with Issue hierarchies. Issue links are just abstract associations between Issues.
To clarify a few things:
Webhooks we created are following the concept of creating webhooks using REST API (https://developer.atlassian.com/cloud/jira/platform/webhooks/#registering-a-webhook-using-the-rest-api--for-connect-and-oauth-2-0-apps-)
In this scenario, we noticed there are restrictions applied on the supported events.
None of them listed about issuelink ( issuelink_created
and issuelink_deleted
, but no issuelink_updated
)
So far, we detect the changes on existing linked issue (via issue_updated webhook event), but none of the update events referring to changes on addition/removal of linked issues.
Do you have any advise on this?
It’s not clear what you mean by “addition/removal of linked issues”.
-
How can a linked Issued be any more ‘added’ than it already is?
-
By ‘removal’ do you mean deleted? If so, then an issue_deleted
event is sent from the Issue that is deleted, but the Issue it was linked to has no knowledge of that ‘change’ because there are no ‘update’ events sent from the linked Issue ‘up’ to the other Issue.
All I can say is that Issue links are not communication channels; Issues don’t send any form of notification to any linked Issues of any changes to themselves, which is what you seem to be inferring you are trying to find an event listener for.
Adding or removing a link to any Issue is a ‘change’ and that change results in either of the two issuelink
events , but only from the Issue that created or removed the link. That’s it.
The complete list of all possible events is well documented. If you can’t find an event for something that is happening with the GUI, then that event probably doesn’t exist.
Hi, thanks again for the reply.
The “addition/removal of linked issues” refers to “link/unlink issue to a specific issue”.
For example I have issue A, issue B . Addition here means I link issue B to issue A and removal means I unlink issue B from issue A.
Those two scenarios above are the events I’m trying to find an event listener for. Basically the events of every time there is a new link/unlink to an issue.
But since we are using webhooks created via REST API, it seems that issuelinks event are not supported because of some restriction.
I have provided the answer to that question, twice.
But since we are using webhooks created via REST API, it seems that issuelinks event are not supported because of some restriction.
Issuelink events are supported and there is no ‘restriction’ that I know of.
If you have created a webhook for the issuelink_deleted
event, as per the documentation, and it is not sending that event from the Issue where the link is deleted from, then I suggest you log a support request.
Good luck.