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

Jira Cloud integration : Predefined fields values are not synchronized with values from Jira #69

Open
amalbaccar-hub opened this issue Jul 2, 2024 · 25 comments

Comments

@amalbaccar-hub
Copy link

We have integrated our BTS plugin which is Atlassian Jira Cloud and Currently we have created 2 types of global integration for issue types bug internal & test case. The plugin version that was uploaded is 5.7.4 : https://github.com/reportportal/plugin-bts-jira-cloud/packages

When posting a new issue new values which are added in Jira cloud after plugin integration are not available for predefined fields. For example, we did not find all the Affected versions in the list of the affected version predefined field (version 2.0.3 not found, but it exist in our Jira cloud BTS):

image-20240520-150628 image-20240520-151458

Any help please @DzmitryHumianiuk @avarabyeu

@VolhaKarenko
Copy link

Hi @amalbaccar-hub,
The latest Jira Cloud plugin version is 5.11.0, please download it here https://github.com/reportportal/plugin-bts-jira-cloud/packages/1366483 and check if the issue is still reproducible.
Also please specify your ReportPortal version

@amalbaccar-hub
Copy link
Author

Hi @VolhaKarenko ,
Thank you for your reply. Will try it and let you know.
this is the version we are using:

image

@amalbaccar-hub
Copy link
Author

amalbaccar-hub commented Jul 5, 2024

@VolhaKarenko plugin was successfully installed :
image

However when clicking on button "Add integration" a blank page is shown:
image

I think this is due to version incompatibility (ReportPortal version 5.7.4 and plugin version 5.11.0).

@alena-babrova
Copy link

Hello @amalbaccar-hub,

You are absolutely right. Jira Cloud plugin version 5.11.0 is not compatible with your version of ReportPortal.
Please, use Jira Cloud plugin version 5.7.3 for ReportPortal version 5.7.4. And close the ticket if it helps you.

@amalbaccar-hub
Copy link
Author

Hello @alena-babrova,

Thank you for your reply. Any link to share please for version 5.7.3.

@alena-babrova
Copy link

Dear @amalbaccar-hub,

Please, find the plugin here

@amalbaccar-hub
Copy link
Author

Thanks for sharing @alena-babrova

@amalbaccar-hub
Copy link
Author

amalbaccar-hub commented Jul 9, 2024

Hi again @alena-babrova @VolhaKarenko,

I tried both versions 5.7.2 & 5.7.3, however Unfortunately for both versions there is the issue of default properties not showing:

image

It seems this issue was fixed for version 5.7.4

@alena-babrova
Copy link

Dear @amalbaccar-hub,

Indeed, there is an issue in integration with the latest Jira Cloud.
I have created a ticket in our internal system to fix it.
I will inform you once it is fixed.

Thank you for reporting!

@amalbaccar-hub
Copy link
Author

Thank you so much @alena-babrova please keep me updated.

Actually I noticed other problems (with plugin version 5.7.4):

  • Bug priority gets changed. I posted a ticket with minor priority but it seems it gets created with blocker priority by default in Jira:

image

image

I think a similar issue was reported with older version. Found this thread: reportportal/reportportal#1406

  • Assignee field is unusable, values don't get automatically populated like other fields (Fix version for example) and when I put an existing Jira user it's not set in Jira ticket afterwards.
  • We have a custom field named 'Parent' (which is supposed to point to Epic). Same behavior as Assignee field, I tried to put link to Epic or Epic ticket number but it's not working.

I think there is problem with custom fields in general so please try to resolve those issues as well.

Thanks again @alena-babrova

@amalbaccar-hub
Copy link
Author

hello @alena-babrova any updates?

@alena-babrova
Copy link

Hello @amalbaccar-hub,

The issue related to the missing Jira Configuration fields is in progress in the current sprint. Once we have some results, I'll let you know.

By the way, as far as I see you've managed to configure the integration with Jira somehow #69.
How have you managed to do this if there were missing fields in the configuration? 🧐

@APiankouski
Copy link
Contributor

APiankouski commented Jul 19, 2024

Hi again @alena-babrova @VolhaKarenko,

I tried both versions 5.7.2 & 5.7.3, however Unfortunately for both versions there is the issue of default properties not showing:

image

It seems this issue was fixed for version 5.7.4

Hello @amalbaccar-hub do you use some custom field in jira? Is the field list empty for all issue types? Do you see any error message in /getIssueFields request in dev tools?

@APiankouski
Copy link
Contributor

APiankouski commented Jul 19, 2024

On same integration i found same bug in 5.7.2 version of plugin, but it work fine with latest 5.11.0 - download here

@amalbaccar-hub
Copy link
Author

Hello @amalbaccar-hub,

The issue related to the missing Jira Configuration fields is in progress in the current sprint. Once we have some results, I'll let you know.

By the way, as far as I see you've managed to configure the integration with Jira somehow #22 (comment). How have you managed to do this if there were missing fields in the configuration? 🧐

Hello @alena-babrova,

Thank you for the update.

Actually using the plugin version 5.7.4 the integration is possible cuz the missing fields are optional. I was able to post issues from the beginning however there was a problem with some fields I mentioned in the previous comments.

@APiankouski
Copy link
Contributor

APiankouski commented Jul 23, 2024

Hello @amalbaccar-hub
We are working on assigned and priority fields but we can't guarantee working of custom fields
Hide fields in configuration if they cause the problems

@amalbaccar-hub
Copy link
Author

Hi again @alena-babrova @VolhaKarenko,
I tried both versions 5.7.2 & 5.7.3, however Unfortunately for both versions there is the issue of default properties not showing:
image
It seems this issue was fixed for version 5.7.4

Hello @amalbaccar-hub do you use some custom field in jira? Is the field list empty for all issue types? Do you see any error message in /getIssueFields request in dev tools?

Hello @APiankouski ,

Thank you for your reply. Yes we are using many custom fields in Jira.

For "Parent" field which turns out to be a non custom field, the field list is empty (I checked for all issue types) and no error message for getIssueFields request:
parent-getIssueFields

Although we are having this values list in Jira:
parent-jira-values

Same thing for Assignee field:
Assignee-getIssueFields

@amalbaccar-hub
Copy link
Author

Hello @amalbaccar-hub We are working on assigned and priority fields but we can't guarantee working of custom fields Hide fields in configuration if they cause the problems

Hello @APiankouski,

If you can also work on Parent field which is of type issuelink, it would be great.
Otherwise we have to hide the fields with problems as you said.

Thanks!

@Kozovskaya
Copy link

Hello @amalbaccar-hub
the issue with predefined fields values and Parent field is fixed and will be available with our next product release when the plugin will also be updated.
The issue with Assignee is not fixed yet and I'm not sure that we will have time to fix it prior next release. I'll keep you informed!

@amalbaccar-hub
Copy link
Author

Hello @Kozovskaya

Sounds good! Thank you so much for the update.

@APiankouski
Copy link
Contributor

Previously, the Assigned To field worked with the username, but it is deprecated in Jira Cloud
As a quick fix, the Assigned To field will work with the account ID in the next release
We understand that this is not always convenient to use, so we are planning to implement search as in Jira (by name, email)
image

@amalbaccar-hub
Copy link
Author

@APiankouski Okay I see thanks for the explanation.

@VeranikaRymzha
Copy link

Hello @amalbaccar-hub,
The issue with the 'Assignee' field has been resolved. The 'Assignee' field now works by using the assignee's name (RP provides suggestions) and email (in case of an exact match).

These changes have been released as a part of ReportPortal version 24.2 + new Jira Cloud plugin.

You can find more details about the new features and enhancements in the release notes.
Feel free to try it out and share any feedback you may have.

Have a great day!

@DzmitryHumianiuk
Copy link
Member

@VeranikaRymzha @amalbaccar-hub can we consider the ticket closed now?

@DzmitryHumianiuk DzmitryHumianiuk transferred this issue from reportportal/service-jira Oct 4, 2024
@VeranikaRymzha
Copy link

@DzmitryHumianiuk , no, the issue is resolved for 'Assignee' field only.

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

7 participants