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 ...
Hi, It was requested to us long time ago to add two items in the "Insert more content" menu: A simple link that leads the user to an external site where they will be able to retrieve the links cor...
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...
how can I run this script on my space/ pages only? If I run it as it now, I noticed comments added on random pages belonging to different people.
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:...
Hi all! I have zero groovy knowledge, hope you can help me. We have a groovy script that we use from Console that is creating Confluence pages based on files on the Linux filesystem, this way impor...
...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...
I use an add-on named "Adaptavist ScriptRunner for Confluence". I have a licence of 100 users, so the add-on costs $125. Now we are upgrading the server license to 250 users. The price of the add-n...
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 ...
Regular confluence CQL searches require an additional parameter includeArchivedSpaces=true. There doesn't seem to be any obvious way to add to the CQL query. Is there any way to confirm the results i...
my plugin only gets reloaded if i'm disabling and the enabling the scriptrunner plugin.
Hi, we are playing with Scriptrunner "Script macros" in Confluence and we have to ask, is there a way to restrict the acces/visibility to use our custom Script macros for Confluence Users in the mac...
Hi folks, We're planning to add ScriptRunner to our corporate Jira environment. We currently have Automation for Jira, but the general consensus seems to be "everything you can do in Automation can ...
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 would like to write a script, that finds all attachments named *.gds in my space, next changes their Properties > Content type = application/octet-stream to Properties > Content type ...
Hello, when i try the Advanced Space Functionality Option 'Space Statistics' within as a Space Admin, i get the Error Message 'Failed to post update'. When i try the same in Confluence Admin (Cog -...
I have a requirement for data classification which drives all other policies around page retention etc. The issue is each page can be defined differently, as such making a distinct ...
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 I am working on Space creation where users will be able to collect information using Template with Scaffolding data and Live Template so all pages will be same. I was able to do ...
Copied to clipboard