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

Change the status of jira issue when the github issue gets assigned #169

Open
mohanboddu opened this issue Jun 26, 2024 · 2 comments
Open

Comments

@mohanboddu
Copy link

Just like pr_updates for changing the status of jira issue based on the PR, it would be great to have the ability to change the status of jira issue when the github issue gets assigned.

@Zyzyx Zyzyx assigned Zyzyx and unassigned Zyzyx Jul 23, 2024
@Zyzyx
Copy link
Collaborator

Zyzyx commented Jul 26, 2024

Hi Mohan, we need a little more information. I understand the original request to change status to something when the issue is assigned. In the config file I could see us introducing an option to specify which status to transition to when that event happens. (or more precisely, which transition to take)

  • What if it is re-assigned to another person while the Jira issue is later in the workflow? Should it go back?
  • What if the issue becomes unassigned?
  • What if an assignee is added later on?

@mohanboddu
Copy link
Author

mohanboddu commented Jul 26, 2024

Thank you @Zyzyx for looking into this:

  • What if it is re-assigned to another person while the Jira issue is later in the workflow? Should it go back?

I think it should stay in the same status, if the status is changed in jira we should respect it.

  • What if the issue becomes unassigned?

If the issue is in the same status as the one in config (something), then change it back to New status or if the status is changed in jira, same as above, respect the status change in jira and leave it.

  • What if an assignee is added later on?

If another assignee is added on top of the existing one, same as above, respect the jira status and leave as is.

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

No branches or pull requests

2 participants