-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle external links + links to issues outside the project group #38
Comments
Shouldn't the project group contain all projects from a given Jira instance then? I.e. we'd have a single group for hibernate.atlassian.net? |
+1 yes that's the idea. I've noticed while syncing HV that there are links to BVAL, we've archived that project and we don't have a mirror on the RH side... so the link to a RH issue won't work here 😕. But we could try pointing back to the "original" ticket in such case. |
Or you can link to upstream BVAL from the RH side... since issues.redhat.com is configured to handle Jira issue links to hibernate.atlassian.net: Actually you might want to do that for all projects, regardless of whether they are synced? IDK :D |
Makes me think that "upstream issue" links could also be handled as "cloned from" Jira issue links... |
Tested this a bit with https://issues.redhat.com/browse/HV-1561 : all of these are actually handled as "remote links". The difference is whether we specify the "application" or not. if we have a jira configured(like Hibernate Jira) then we can pass the application object as part of the request to get it showing up as if it was a "jira link" and pick up the status/summary/icon upstream. we can put any "issue-relationship" label we want there e.g. "does not relate to" 😄 Adding remote links upstream do not trigger web hook events 😖: https://jira.atlassian.com/browse/JRASERVER-32237?focusedId=764815&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-764815 I also confirmed that by testing on JIRATEST1 and looking for any events to be triggered 😕. BUT! 😃 if a web link is added a ticket is considered updated so a query like
since it's all remote links in the end... I can add the "application" object to the request so it shows up as if a jira-link if we want to have that. I'd keep the "Upstream issue" as a relation label so that if there are any "cloned from" links this one would still stand out from the list. |
Thanks for looking into it! When you say remote link, you mean web links? Anyway... Considering there's no real difference, I'd say do whatever you think makes sense / is simpler. I wouldn't say that syncing web links is top priority though :) |
yes 😃. Jira calls them "remote" 😃 https://developer.atlassian.com/server/jira/platform/jira-rest-api-for-remote-issue-links/ I've tested the new link on https://issues.redhat.com/browse/HV-2060 |
The text was updated successfully, but these errors were encountered: