Skip to content
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

Deleting issue from GH #161

Open
lgecse opened this issue Aug 11, 2023 · 3 comments
Open

Deleting issue from GH #161

lgecse opened this issue Aug 11, 2023 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@lgecse
Copy link
Contributor

lgecse commented Aug 11, 2023

As deleting a comment from an issue has some problems, it made me think:

  • How is being handled when we just delete an issue from GH?
  • How does it work, when the issue had comments?

********************** EDIT: **********************
Explanation: the question is about the current flow. Given a situation, when a GH issue was synced to Jira already. What should we do when the source GH issue is being deleted from GH? There is a leftover Jira task, that we could potentially:

  • delete the corresponding Jira task with all it's comments, reflecting the change in Jira
  • update the corresponding Jira task's description, marking it "has been removed from GH"
  • leave everything as-is

I think it's not crucial to answer this yet, but we might have to solve this edge case later.

@lgecse lgecse added the question Further information is requested label Aug 11, 2023
@rappizs
Copy link
Contributor

rappizs commented Aug 11, 2023

@lgecse we only create and update Jira issues, we don't delete them. IMO this would be a nice feature to remove deleted issues from Jira as well.

@justaugustus
Copy link
Contributor

Recall from the README that:

Note that gh-jira-issue-sync works only one way and will NOT mirror issues from Jira to GitHub.

What you're looking for is a two-way sync or a mechanism that will maintain state and those are both non-goals for this project.

@rappizs
Copy link
Contributor

rappizs commented Aug 21, 2023

We are talking about removing Jira tickets if an issue has been deleted on GitHub. This is still one way (sync GH to Jira) and could be a new feature in the tool. Right now if we delete an issue from GH it will remain abandoned in Jira.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants