Skip to content

OCPERT-154: Add JIRA_USERNAME env to Jira Notificator#76321

Open
tomasdavidorg wants to merge 1 commit intoopenshift:mainfrom
tomasdavidorg:OCPERT-154
Open

OCPERT-154: Add JIRA_USERNAME env to Jira Notificator#76321
tomasdavidorg wants to merge 1 commit intoopenshift:mainfrom
tomasdavidorg:OCPERT-154

Conversation

@tomasdavidorg
Copy link
Contributor

https://redhat.atlassian.net/browse/OCPERT-154

With the migration to Atlassian Cloud, the authentication switches from token_auth to basic_auth (username + API token).

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 16, 2026
@openshift-ci-robot
Copy link
Contributor

@tomasdavidorg: This pull request references OCPERT-154 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

https://redhat.atlassian.net/browse/OCPERT-154

With the migration to Atlassian Cloud, the authentication switches from token_auth to basic_auth (username + API token).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 16, 2026
@openshift-ci openshift-ci bot requested review from rioliu-rh and wewang58 March 16, 2026 12:59
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@tomasdavidorg: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-release-tests-main-jira-notificator N/A periodic Registry content changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@rioliu-rh
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Mar 16, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 16, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rioliu-rh, tomasdavidorg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rioliu-rh
Copy link
Contributor

/pj-rehearse ack

@openshift-ci-robot
Copy link
Contributor

@rioliu-rh: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Mar 19, 2026
@rioliu-rh
Copy link
Contributor

/pj-rehearse periodic-ci-openshift-release-tests-main-jira-notificator

@openshift-ci-robot
Copy link
Contributor

@rioliu-rh: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@rioliu-rh
Copy link
Contributor

/retest

@rioliu-rh
Copy link
Contributor

observed jira api capability issue in rehearsal job

jira.exceptions.JIRAError: JiraError HTTP None
	text: The `search` API is deprecated in Jira Cloud. Use `enhanced_search_issues` method instead.

we can fix it in another PR

@tomasdavidorg
Copy link
Contributor Author

@rioliu-rh I will take a look on the Jira notificator issue.

@rioliu-rh
Copy link
Contributor

@rioliu-rh I will take a look on the Jira notificator issue.

I'm working on a fix, will submit it soon

@tomasdavidorg
Copy link
Contributor Author

ok here is the jira then https://redhat.atlassian.net/browse/OCPERT-339... assigning to you

@tomasdavidorg
Copy link
Contributor Author

/pj-rehearse periodic-ci-openshift-release-tests-main-jira-notificator

@openshift-ci-robot
Copy link
Contributor

@tomasdavidorg: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 19, 2026

@tomasdavidorg: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/step-registry-shellcheck 5fdd5b7 link true /test step-registry-shellcheck
ci/rehearse/periodic-ci-openshift-release-tests-main-jira-notificator 5fdd5b7 link unknown /pj-rehearse periodic-ci-openshift-release-tests-main-jira-notificator

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@tomasdavidorg
Copy link
Contributor Author

Another error in rehearsal job is fixed here openshift/release-tests#958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants