In my project, user can ask question, now I want to display some articles in my confluence space based on what user is typing. when I call confluence rest api in ajax in my project, I get CORS e...
...PI using AJAX call from JavaScript file as given below: $.ajax({ headers:{ 'Content-Type':'application/json', 'Accept': 'a...
...ress create and download button on confluence page (using post ajax call to PHP page) 3) Create file on server side 4) Download and save the file to the local system 5) Delete the file on the server s...
How am I supposed to authorize an API call to create a new session with OAuth? I have gone through the steps to generate an access token, but I am always returned 401 ( "You are not authenticated. Au...
I have a requirement that after clicking on the create button, trigger or listener will be happened and it will fetch and read the data from the SAP API which is XML data and based on the xml respons...
Hi all, I am trying to add custom issue tab panel with Ajax loading in Jira server. When custom tab is opened on the screen and the page is loaded, everything is working fine but whenever I change t...
Hi, I have the next code: AP.context.getToken(function (token) { var actionData = new FormData(); actionData.append('file', files[0]); actionData.append('comment', "foobar"); ...
Attempting to create/update confluence property from a Built in Macro: Reading(GET) of parameter works fine, but PUT/POST fails w: Fail: {"statusCode":500,"message":"","reason":"Internal Server Err...
get all project using rest API and load all project name in Dropdown
How to submit form and stay on same page? I have this code in Java public String doDeleteCertainFilter(){ String userID = this.getHttpRequest().getParameter("userID"); ApplicationUser u...
Hello, I have a php/javscript page that creates a searchable list of users from a database. Currently I host the page on the same server as Confluence and include it on a page with the html-include...
Howdy, I'd like to hide the annoying Comala's icon that pops out every time you refresh the page, runs all the way right-to the left and then hides itself. I looks so irritating that my users are g...
Howdy, I'd like to hide the annoying Comala's icon that pops out every time you refresh the page, runs all the way right-to the left and then hides itself. I looks so irritating that my users are g...
Hi Community, Sorry for the double post. Due to many edition on JS code block to get the right syntax highlight, my previous post has been considered as SPAM and no longer visible. ...
I have 2 questions, and I amstuck on them for days. 1) 2-3 days back I was able to easily fetch(GET) issues through JIRA REST API using both POSTMAN and JS. But recently I am unable to GET the iss...
I'm using this tutorial and this documentation to figure out integration testing for my plugin. My plugin page has an ajax call to the JIRA REST API to populate a select element with options. When I...
The code below doesn't change mytoggle from 0 to 1 which is what should happen according to this SO link. Is this somehow Confluence related? var mytoggle = 0; $.ajax({ typ...
Here is the code and i am getting the error in chrome console as follows: Failed to load URL:Response for preflight is invalid (redirect) $(document).ready(function(){ var username = "usern...
I want to replace text whose HTML tag has id equal to a variable called skillLevel (the text can just be part of a confluence page or part of an HTML macro embedded in a page, whatever's ea...
...ot getting a "Success!!!" alert and the page isn't getting updated. I'm using Confluence Server. Does anyone have some insight? <script>src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/j...
...uccess: function (data) { console.log('Success'); } }); Does anyone know which is the proper way to use this cookie for ajax calls? After this error I also receive "The 'Access-Control-Allow-O...
...ode 415 (Unsupported Media Type) after my jquery ajax call. My webpage is running in http://localhost:60501 so I've added it to the jira whitelist allowing incoming and outcoming conections. &n...
Hello, i've ran into an issue that i cannot seem to resolve. My javascript function only loads on the second try after opening the create screen. The following is my full JS code...
Hello Community, I came across an article in ScriptRunner on how to convert a text field into a multi-select field by using Behaviours and Ajax. This is the article. Followed instructions and it w...
Hello! Im having abit of issue getting a customfield value for an issue with values that are in the background e.g when there is a transition screen, i want to pull an existing customfield valu...
Copied to clipboard