Hello, running into issues installing the script runner app from the marketplace for confluence, please advise. Thanks Try it free > Start Free Trial > We ran into a little tr...
I'm not a groovy programmer, so apologies for anything that is nonsensical here. :) I want to make a macro that I can add to a page that will count the number of reg-ex matches in the content above ...
When I move a page I get an error in the log file: 2021-09-22 18:42:29,536 ERROR [http-nio-8090-exec-5] [comalatech.confluence.workflow.DefaultWorkflowActionManager] executeAction Error Processing W...
Hi all! I have a task to dynamiclly add new values to a custom field in Jira. Values should be taken from a Confluence page. How can I achieve this? I have a ScriptRunner for Jira and for Con...
I'm attempting to use the Create Page macro from the Script Runner plugin to create a page from template and all of my in page macros on the template seem to be broken in the created page. To reprod...
Hi All, I am in the proces of linking multiple pages with one parent page. The parent page contains the content of the page and this is copied to the linked pages. (this working as a charm). But no...
What I am looking to accomplish is to search a page's body for a specific string using RegEx and then replace that text with an HTML link to be rendered by Confluence Cloud. I am currently doing this...
Confluence Vers: 7.1.0 Scriptrunner Vers: 6.4.0-p5 Hello, I am trying to copy pages based off of an event listener, and I keep getting the following error java.lang.NullP...
I only see a option to restrict permissions. Is there a way to allow some users to do specific tasks? Once I restrict for all spaces, is there a way to allow some spaces? https:...
...ontent") if (element.size()>0) { element[0].text("Updated Content") pageman.saveNewVersion(page, new Modification<Page>() { public void modify(Page p) { p.version = p.version...
It looks like there is an ability to track page views by user in Confluence when using Scriptrunner. Does anyone have any experience with doing this? If so, do you have any example scripts you can s...
Hello, I am attempting to create a button that opens a modal within the confluence UI using scriptrunner. I have created a web fragment which seems correct from the documentation. I have attached a ...
Hi, Im new with confluence script runner. Tried Prune old versions Job, but cannot get it started based on History information. Example now its running in 5 minutes cycle, but H...
I am wondering if anyone was able to call REST API call from Confluence Script Runner to same Confluence host? I am trying to create page (this is Ok) then update some of the page parts afte...
Hi Atlassian Community, I am working with the Adaptavist ScriptRunner Lock Content Macro as a solution to a problem where we want to hide certain parts of a page from the being visible to all u...
Script runner can be triggered when a new page is created but I am not sure how to identify what template was used to create the page, as based on that I would like to either label it for follow-up a...
Hi community, Can anyone please share a code snippet for a confluence REST EndPoint that adds a given user as a watcher on a given page/content? I've been struggling with the existing documentation...
I have a script that posts Confluence PageViews to splunk (and other engines) : http://www.mos-eisley.dk/display/ATLASSIAN/Logging+PageEvents+to+Splunk But I would also like to get more info, m...
Trying to create a custom cql function (using ScriptRunner) to return all unresolved comments, but everything with inline comments (be they unresolved or not) is showing up. Any ideas? import com.a...
Confluence 6.4. ScriptRunner 5.2.0. One of the buit in script is to switch to a different user. For auditing purposes: is this logged somewhere? Or can admins do anything in name of another user?
import groovyx.net.http.ContentType import groovyx.net.http.RESTClient import groovyx.net.http.Method def jira = new RESTClient("http://localhost:8080"); jira.contentType = ContentType.JSON; d...
Hi team! I need assistance with removal of VIEWSPACE_PERMISSION in all Spaces for a specific Group. I obtained a script to add/save VIEWSPACE_PERMISSION to all Spaces for a...
....com/repository/public/com/atlassian/confluence/confluence-webapp/ After running sudo atlas-mvn confluence:debug in the same directory as pom.xml it starts setting up the environent and among m...
Has anyone written a custom cql script in scriptrunner that takees a phrase and then does an or search on each word? When searching via the confluence API is tries to match all words in the phrase, I...
I am trying to write a script which can be used either as part of a REST api endpoint or as a scheduled job to export the full content of a page (read: layout and Images) either as a file (preferably...
Copied to clipboard
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.