How to Integrate Sharepoint on-prem site with jira Data centre using Script Runner plugin. I would also like to know whether any particular plugin is required or is it possible by script runner with the help of groovy script.
I have created a script to read and write data from Sharepoint. Basically you need to use API calls. All API information is available online, like which API call to use for which purpose based on your requirements.
Below are basic details that are required to achieve this:
Example: https://example.sharepoint.com/_layouts/15/appregnew.aspx
Example: Google Workspace Migrate
Example: https://example-admin.sharepoint.com/_layouts/15/appinv.aspx
Note: The URL must include -admin to access the tenant administration site. If you omit it, SharePoint shows a similar page, but you will not be able to grant tenant-scoped permissions.
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
</AppPermissionRequests>
Here are some useful links to generate the client IDs:
By Following the above steps we get :
So using the above information we need to Generate the Access Token, which is required for the authentication to connect to SharePoint using rest.
You can use any tool to test these like Postman.
Once you generate the Access, you can use the access token in the code.
@Suchitha Welcome to the Atlassian community
Technically you could do this through the Atlassian and SharePoint APIs. Depending on what you are trying to do it might be worth it. If you are trying to sync documents, embed SharePoint, etc. I would suggest using an app from marketplace and saving yourself the development time and maintenance it would require if you built it yourself. https://marketplace.atlassian.com/search?query=sharepoint&product=confluence&hosting=dataCenter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.