Hi, I'm trying to create a new button via Script Fragment that will lunch a popup screen where the Jira Server , the type of Link and specific issue will be hardcoded already for the user. A...
...anel fragment (Data Center 9.4.18). The same I implemented in Scriptrunner's macro in Confluence (Data Center 8.5.9) without nearly no issues. I am wildly guessing I must be missing some i...
...rello.com/1/authorize?expiration=1day&name=MyPersonalToken&scope=read&response_type=token&key=***), but the token was as a fragment in the return_url (expl: http://localhost:8080/GetToken#t...
In Jira, after much research, I was able to add custom dropdown web item on the top navigation bar using ScriptRunner Fragments. Now my question: is it possible to add icon/image/avatar on t...
I need to have the "Create Projects" menu item visible to only a specific group. Using Hide system or plugin UI element Can locate the element via fragment locator and add to Hide what: c...
Greetings, At the moment, I'm writing a script, which restricts which use can be selected as an Actor. My idea is to get all users from the specified group and delete the result which came whe...
Using ScriptRunner Fragments Hey Atlassian Community! I am trying to only display a fragment when certain conditions are met. What I need help finding is how to actually get the fragment to s...
...ui-toolbar2-primary is limited to around 600 pixels; therefore almost all buttons are shown under the "More" dropdown menu. We'd like to have more buttons (mostly ScriptRunner fragments / web i...
I am using this REST endpoint for a fragment and it works perfectly as an inline script. Here is my code below and here is a screenshot of the page where I am redirected after clicking o...
I have a built-in script Fragments which creates a custom Field in Jira Service Desk. The issue is : when we first open the service desk portal, the custom field created by the fragment d...
Hi, I'm wondering how to get the current url that is shown in the browser? In Jira easy, but hwo can i do it in confluence? I want to create a condition that only runs a script fragment w...
Hi Team, I have created a script runner fragment for the announcement. Below is the script. How can I dismiss this dialog? Is there anything I can add to this script to create dismiss b...
I'd like to add a web panel for more info to one project, but I tried the code ' ! (jiraHelper.project?.key in ["project name"]) ', it still show the panel in all my projects.
This is a condition on a fragment for a Web Panel. I only want it to show on "Detection Issue" and when Status is "done" or "will not do" The status portion is working, but not the i...
...ow can I fix this and make my fragment/REST endpoint work? import groovy.transform.BaseScript import com.onresolve.scriptrunner.runner.rest.common.CustomEndpointDelegate import j...
...t disappears, which appears to be due to some sort of page/area reload. Does anyone have any tricks to adding HTML to the servicedesk queues? As a simple/dumb test: Create a fragment -&g...
So, I've tried the "Hiding Menu Button Using JavaScript" from this scriptrunner doc. https://docs.adaptavist.com/sr4js/6.42.0/features/script-fragments/custom-fragments/web-resource?utm_source=p...
Hi All, Internal technical teams clone the tickets and link tickets from different customer projects. We don't want to expose this data to customer. If we are able to hide history tabs from all c...
Hi Folks, I have custom field(Source Id) if any issue contains source id value(if custom field value is not empty) then i have to disable clone option for that issue. Thanks in Adva...
Trying to figure out how to send the pageId when clicking on a web fragment from a confluence page. Something like... /rest/scriptrunner/latest/custom/test?pageId=$pageID I want the page that t...
Hey All, I'm trying to restrict a Scrptrunner fragment by two variables with an "AND" and really struggling. I can get the two variables to work independently, and if I put them both into the c...
Hi, Via a Scriptrunner Fragment I want to have the option More -> Labels in issues of 4 Jira projects only available for users in the project roles 'Administrators', 'Scrum Masters', 'P...
I would like to hide, using css/js or "Hide system or plugin UI element" functionality of scriptrunner a particular workflow button. How would I go about doing that? I can't find...
When I saving a scriptrunner fragment i got an NullPointerException. Interesting: On first save the fragment (js file) is loaded. But after next saves it is not loaded. But in both cases I g...
Hello, I am trying to hide the "Create sub-task" button on a specific project, if the user performing the action (current user) is not in a specific user picker custom field. What I have so...
Copied to clipboard