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

fix: enable reopen awaiting module #845

Merged

Conversation

jkazimierczak
Copy link
Contributor

Purpose

Re-registers the AwaitingResponse module, as it was adapted to the cloud API.

reopen-by-reporter-comment.webm

Approach

  • Replace deprecated name attribute usages with accountId,
  • Remove the logic of checking whether the user account is new (and accompanied tests),
  • Port issue transition logic from old client.

Future work

Checklist

  • Included tests
  • Updated documentation in README
    and docs folder
  • Tested in MCTEST-xxx

Comment on lines +242 to +243
val availableTransitions = allTransitions.transitions?.joinToString(",\n") { "${it.name} (${it.id})" }
throw JiraClientException("Transition $transitionName not found. Available transitions:\n$availableTransitions")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the absence of given transition be just logged with warning/error level instead of throwing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No transitions being found sound like an immediate issue we should handle, not sure we would look at warnings/error logs as closely

@urielsalis urielsalis merged commit 41f1c6e into mojira:master Mar 7, 2025
3 checks passed
@jkazimierczak jkazimierczak deleted the fix/enable-reopen-awaiting-module branch March 7, 2025 14:27
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

Successfully merging this pull request may close these issues.

2 participants