Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Dialogs use react-select components rather than select2 component

Timetoact
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 2, 2025

Hello,

we are using a custom plugin which extends ther SD-Dialog-UI,

After the update to Service Management 5.12.x our plugin isn't able anymore to handle "seclet components", becaus e they are now build with react instead of select2 as before (e.g. version 5.4.x).

When/which version was the switch was made to react?

Are there any "endpoints/Api's" to handle the new components?

Best regards,

Oliver

 

 

 

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
January 2, 2025

Hi @Timetoact 

I see it's Jira Cloud and as far as I know the select2 dropdowns were replaced (widely) with React-based components long ago (around mid 2020), then Atlassian applied the same for Jira datacenter. However, I don't know the exact version of the changes.

 

Timetoact
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 2, 2025

Hi @Tuncay Senturk _Snapbytes_

thank you for your response.

Update: I correct the tags to datacenter.

Tuncay Senturk _Snapbytes_
Community Champion
January 2, 2025

Ok, if it's DC then as far as I recall, in JSM 5.10.x, major components such as the issue create/edit dialogs and form fields began adopting React, and then most select components transitioned fully to React by JSM 5.12.x

React-based components require a different approach compared to legacy implementations. These components cannot be manipulated directly using jQuery or similar tools. Instead, they rely on React's state and props.

Most React-based UI components in JSM fetch data via REST endpoints. Atlassian provides frontend JavaScript APIs for custom integrations, which can be used for fetching and manipulating data.

I hope that's helpful

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events