# Latest

**URL:** https://forum.library.adaptavist.com/latest.md

[Latest](https://forum.library.adaptavist.com/latest.md) · [Categories](https://forum.library.adaptavist.com/categories.md) · [Tags](https://forum.library.adaptavist.com/tags.md)

---

## [Run a code a display a dialog in UI fragments](https://forum.library.adaptavist.com/t/run-a-code-a-display-a-dialog-in-ui-fragments/562)

<div class="topic-metadata">

**Author:** [@testusername](https://forum.library.adaptavist.com/u/testusername)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 8:34pm UTC](https://forum.library.adaptavist.com/t/run-a-code-a-display-a-dialog-in-ui-fragments/562 "2025-03-11T20:34:45Z")

</div>

We need to create a button that, when clicked, prompts a dialog to enter a message. Upon submitting the message, it should send an email with the entered content. Currently, I am testing the dialog available in the scrip…

---

## [JQL to find issues with links to a specific issue type](https://forum.library.adaptavist.com/t/jql-to-find-issues-with-links-to-a-specific-issue-type/561)

<div class="topic-metadata">

**Author:** [@osrojas](https://forum.library.adaptavist.com/u/osrojas)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 6:36am UTC](https://forum.library.adaptavist.com/t/jql-to-find-issues-with-links-to-a-specific-issue-type/561 "2025-02-11T06:36:25Z")

</div>

We have a custom issue type called ‘Impediment’. We create and link ‘Impediments’ to other issues using the ‘Blocks’ link type. Through JQL, how can I show all issues that have at least one ‘Impediment’ linked to them? …

---

## [Informing users that they landed in an Archived space](https://forum.library.adaptavist.com/t/informing-users-that-they-landed-in-an-archived-space/559)

<div class="topic-metadata">

**Author:** [@MoonShine](https://forum.library.adaptavist.com/u/MoonShine)\
**Replies:** 1\
**Last updated:** [February 6, 2025, 10:50pm UTC](https://forum.library.adaptavist.com/t/informing-users-that-they-landed-in-an-archived-space/559 "2025-02-06T22:50:30Z")

</div>

Hello, I’m looking for a way to automatically change the look of spaces that are set to Archived. I have trouble finding any useful methods in Groovy for that. Any of the following would be nice =\> Change the header/f…

---

## [I created server side script and its not working says : Has not run yet when seen in behaviour logs](https://forum.library.adaptavist.com/t/i-created-server-side-script-and-its-not-working-says-has-not-run-yet-when-seen-in-behaviour-logs/552)

<div class="topic-metadata">

**Author:** [@umairmansoor](https://forum.library.adaptavist.com/u/umairmansoor)\
**Replies:** 1\
**Last updated:** [January 28, 2025, 8:59pm UTC](https://forum.library.adaptavist.com/t/i-created-server-side-script-and-its-not-working-says-has-not-run-yet-when-seen-in-behaviour-logs/552 "2025-01-28T20:59:35Z")

</div>

I created server-side script and its not working says : Has not run yet when seen in behaviour logs

---

## [Jira scripted field value changing automatically](https://forum.library.adaptavist.com/t/jira-scripted-field-value-changing-automatically/556)

<div class="topic-metadata">

**Author:** [@ms\_1991](https://forum.library.adaptavist.com/u/ms_1991)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 8:51pm UTC](https://forum.library.adaptavist.com/t/jira-scripted-field-value-changing-automatically/556 "2025-01-28T20:51:05Z")

</div>

Problem:- The ROI field in Jira is inconsistently set to "N" or blank (None) even though the issue summary contains "ROI". The field sometimes toggles between "N" and None after page refreshes or automatically. Script…

---

## [How can I create a list of all defined behaviors?](https://forum.library.adaptavist.com/t/how-can-i-create-a-list-of-all-defined-behaviors/545)

<div class="topic-metadata">

**Author:** [@PKl](https://forum.library.adaptavist.com/u/PKl)\
**Replies:** 2\
**Last updated:** [January 8, 2025, 5:56am UTC](https://forum.library.adaptavist.com/t/how-can-i-create-a-list-of-all-defined-behaviors/545 "2025-01-08T05:56:58Z")

</div>

For documentation purposes, I need a list of the defined behaviors with information about which projects they are assigned to. How can I create this in a script?

---

## [Deactivating idle users after custom period script is not finding all idle users](https://forum.library.adaptavist.com/t/deactivating-idle-users-after-custom-period-script-is-not-finding-all-idle-users/548)

<div class="topic-metadata">

**Author:** [@avalonian](https://forum.library.adaptavist.com/u/avalonian)\
**Replies:** 1\
**Last updated:** [January 7, 2025, 4:31pm UTC](https://forum.library.adaptavist.com/t/deactivating-idle-users-after-custom-period-script-is-not-finding-all-idle-users/548 "2025-01-07T16:31:55Z")

</div>

Hey all, I am trying to use this script to deactivate all users after 365 days: I have updated numOfDays to 365, but the script only found users up to a certain username alphabetically. It stopped somewhere in the 'E’…

---

## [Scriptrunner not working in view screen](https://forum.library.adaptavist.com/t/scriptrunner-not-working-in-view-screen/542)

<div class="topic-metadata">

**Author:** [@testusername](https://forum.library.adaptavist.com/u/testusername)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 1:38pm UTC](https://forum.library.adaptavist.com/t/scriptrunner-not-working-in-view-screen/542 "2024-12-20T13:38:14Z")

</div>

There are 2 fields A &B. A is a drop-down field and when a particular value from A is selected, only then B field should be visible. We were able to do this in create screen and edit screen. But we cannot do it in View s…

---

## [Debugging Behaviours feels painful](https://forum.library.adaptavist.com/t/debugging-behaviours-feels-painful/539)

<div class="topic-metadata">

**Author:** [@vos](https://forum.library.adaptavist.com/u/vos)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 10:21am UTC](https://forum.library.adaptavist.com/t/debugging-behaviours-feels-painful/539 "2024-11-22T10:21:26Z")

</div>

Does anyone else run into a very painful debugging experience in Behaviours? First of all, needing to do a refresh any time you want to see new logs come in. But worse, the error handling seems such that sometimes the f…

---

## [Copy Tempo Timesheet worklog from story to initiative](https://forum.library.adaptavist.com/t/copy-tempo-timesheet-worklog-from-story-to-initiative/509)

<div class="topic-metadata">

**Author:** [@viyesth](https://forum.library.adaptavist.com/u/viyesth)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 2:01pm UTC](https://forum.library.adaptavist.com/t/copy-tempo-timesheet-worklog-from-story-to-initiative/509 "2024-11-19T14:01:27Z")

</div>

Hi , I have 2 projects, where project 1 has initiative issuetype and project 2 has story issuetype. Users log their time using Jira worklog which is then auto-synced to tempo timesheet in stories. Now, I want to write a…

---

## [How can I use the result of getHashedUserKey() in the AddUserToOrganization Event?](https://forum.library.adaptavist.com/t/how-can-i-use-the-result-of-gethasheduserkey-in-the-addusertoorganization-event/535)

<div class="topic-metadata">

**Author:** [@mattd](https://forum.library.adaptavist.com/u/mattd)\
**Replies:** 2\
**Last updated:** [November 19, 2024, 12:50pm UTC](https://forum.library.adaptavist.com/t/how-can-i-use-the-result-of-gethasheduserkey-in-the-addusertoorganization-event/535 "2024-11-19T12:50:58Z")

</div>

The getHashedUserKey() method on the AddUserToOrganization event returns the hashCode()ed result of the Jira User key. I’m wondering how I can use this in a Custom Listener to get the actual User Key of the Jira user add…

---

## [Retrieve asset key from InsightObjectUpdatedEvent](https://forum.library.adaptavist.com/t/retrieve-asset-key-from-insightobjectupdatedevent/529)

<div class="topic-metadata">

**Author:** [@NWHSbspangler](https://forum.library.adaptavist.com/u/NWHSbspangler)\
**Replies:** 3\
**Last updated:** [November 19, 2024, 11:24am UTC](https://forum.library.adaptavist.com/t/retrieve-asset-key-from-insightobjectupdatedevent/529 "2024-11-19T11:24:59Z")

</div>

I am trying to use listeners to avoid using the asset automations in Jira service management. I need to update attributes when certain other attributes are updated. I am having a problem get the asset key from the event …

---

## [Need script to make Text field mandatory while creation issue based on two custom field value](https://forum.library.adaptavist.com/t/need-script-to-make-text-field-mandatory-while-creation-issue-based-on-two-custom-field-value/534)

<div class="topic-metadata">

**Author:** [@Shiva2430](https://forum.library.adaptavist.com/u/Shiva2430)\
**Replies:** 1\
**Last updated:** [November 18, 2024, 1:39pm UTC](https://forum.library.adaptavist.com/t/need-script-to-make-text-field-mandatory-while-creation-issue-based-on-two-custom-field-value/534 "2024-11-18T13:39:45Z")

</div>

Hi Team, We have three custom fields 1. Customer name (text field), 2. products (Single select) and reported by (single select). When products = test and reported by = users the customer name field need to be mandatory…

---

## [Radio Button update in SR Behaviors](https://forum.library.adaptavist.com/t/radio-button-update-in-sr-behaviors/525)

<div class="topic-metadata">

**Author:** [@tmichaels](https://forum.library.adaptavist.com/u/tmichaels)\
**Replies:** 5\
**Last updated:** [October 23, 2024, 6:55am UTC](https://forum.library.adaptavist.com/t/radio-button-update-in-sr-behaviors/525 "2024-10-23T06:55:37Z")

</div>

I cannot get any behaviors to trigger from the “Issue View” when updating customer field of type radio button. Any help appreciated. Scope is a single project, Issue type of Task

---

## [Using Assets to Restrict Fields](https://forum.library.adaptavist.com/t/using-assets-to-restrict-fields/519)

<div class="topic-metadata">

**Author:** [@kennyhoff](https://forum.library.adaptavist.com/u/kennyhoff)\
**Replies:** 0\
**Last updated:** [October 2, 2024, 1:56pm UTC](https://forum.library.adaptavist.com/t/using-assets-to-restrict-fields/519 "2024-10-02T13:56:38Z")

</div>

Our organization currently has over 13,000 groups in active directory. This causes the syncs to take a long time to complete. We are rebuilding our Jira instance to only sync groups that start with Jira, so like Jira Pr…

---

## [Which property to use with components field in behaviours](https://forum.library.adaptavist.com/t/which-property-to-use-with-components-field-in-behaviours/515)

<div class="topic-metadata">

**Author:** [@Mykhailo](https://forum.library.adaptavist.com/u/Mykhailo)\
**Replies:** 2\
**Last updated:** [October 1, 2024, 9:27am UTC](https://forum.library.adaptavist.com/t/which-property-to-use-with-components-field-in-behaviours/515 "2024-10-01T09:27:07Z")

</div>

Hi folks, When using behaviours, it is very easy to set value of a field based on the other field’s value, if it is a single choice picker field or system field, like priority, because you get to use .name property: co…

---

## [Find drafts in decsendent pages with given title](https://forum.library.adaptavist.com/t/find-drafts-in-decsendent-pages-with-given-title/512)

<div class="topic-metadata">

**Author:** [@buchholz](https://forum.library.adaptavist.com/u/buchholz)\
**Replies:** 0\
**Last updated:** [September 23, 2024, 2:37pm UTC](https://forum.library.adaptavist.com/t/find-drafts-in-decsendent-pages-with-given-title/512 "2024-09-23T14:37:13Z")

</div>

As I found that there is a bug in confluence that let you fail moving a page with its descendants to another space if there are drafts :roll\_eyes: below the selected page with the same name as pages in the new space, I s…

---

## [Hide issue types from Sub task creation](https://forum.library.adaptavist.com/t/hide-issue-types-from-sub-task-creation/504)

<div class="topic-metadata">

**Author:** [@HarryK](https://forum.library.adaptavist.com/u/HarryK)\
**Replies:** 0\
**Last updated:** [September 2, 2024, 9:03am UTC](https://forum.library.adaptavist.com/t/hide-issue-types-from-sub-task-creation/504 "2024-09-02T09:03:35Z")

</div>

In one of our projects we want to hide 2 Issue Types when creating a Sub Task. We have multiple Parent Issue Types, all of which you can create a Sub Task. We have multiple Sub Tasks and want to only show some of them …

---

## [Retrieving user\_created uuid in the script listener](https://forum.library.adaptavist.com/t/retrieving-user-created-uuid-in-the-script-listener/498)

<div class="topic-metadata">

**Author:** [@alain.kovacs](https://forum.library.adaptavist.com/u/alain.kovacs)\
**Replies:** 1\
**Last updated:** [August 23, 2024, 11:24am UTC](https://forum.library.adaptavist.com/t/retrieving-user-created-uuid-in-the-script-listener/498 "2024-08-23T11:24:33Z")

</div>

Hi, TLDR: I have a script Listener listening to “User created”. How can I retrieve the user\_created webhook? I need that user ID, as I need to perform certain actions with that user that I have just created. These actio…

---

## [Bulk Initialization of Scripted Field Values](https://forum.library.adaptavist.com/t/bulk-initialization-of-scripted-field-values/493)

<div class="topic-metadata">

**Author:** [@nicolasPR](https://forum.library.adaptavist.com/u/nicolasPR)\
**Replies:** 2\
**Last updated:** [August 5, 2024, 7:09am UTC](https://forum.library.adaptavist.com/t/bulk-initialization-of-scripted-field-values/493 "2024-08-05T07:09:42Z")

</div>

Hi there, I’m transitioning from Jira Server to Cloud and am in the process of reconfiguring my settings. I have a scripted field that calculates the number of days since the last transition. The field updates correctl…

---

## [Batch create pages from CSV/Excel in Confluence](https://forum.library.adaptavist.com/t/batch-create-pages-from-csv-excel-in-confluence/491)

<div class="topic-metadata">

**Author:** [@mapmonkey](https://forum.library.adaptavist.com/u/mapmonkey)\
**Replies:** 1\
**Last updated:** [July 29, 2024, 5:22pm UTC](https://forum.library.adaptavist.com/t/batch-create-pages-from-csv-excel-in-confluence/491 "2024-07-29T17:22:47Z")

</div>

I want to batch-create hundreds of pages in Confluence from a CSV file. I used to be able to do this by importing a formatted Word doc but this is no longer supported. I need to create pages and sub-pages and the csv fil…

---

## [Add value to custom field type "Issue Picker" when issue is linked Outward type "relates to"](https://forum.library.adaptavist.com/t/add-value-to-custom-field-type-issue-picker-when-issue-is-linked-outward-type-relates-to/489)

<div class="topic-metadata">

**Author:** [@camilky](https://forum.library.adaptavist.com/u/camilky)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 7:59am UTC](https://forum.library.adaptavist.com/t/add-value-to-custom-field-type-issue-picker-when-issue-is-linked-outward-type-relates-to/489 "2024-07-26T07:59:00Z")

</div>

I have a problem with following script, because automation running properly as well without any changes in custom field type “IssuePicker”. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jir…

---

## [Script Listener - Migrate to cloud](https://forum.library.adaptavist.com/t/script-listener-migrate-to-cloud/484)

<div class="topic-metadata">

**Author:** [@swathi](https://forum.library.adaptavist.com/u/swathi)\
**Replies:** 1\
**Last updated:** [July 23, 2024, 10:57am UTC](https://forum.library.adaptavist.com/t/script-listener-migrate-to-cloud/484 "2024-07-23T10:57:04Z")

</div>

Hi Team, We are trying to migrate script listener from DC to cloud. We have a listener which will check the description of an “Epic”. If it contains an issue key of some pattern, for example CR-■■■, it will automaticall…

---

## [Cloud Behaviour Set field read-only in a given issue status](https://forum.library.adaptavist.com/t/cloud-behaviour-set-field-read-only-in-a-given-issue-status/481)

<div class="topic-metadata">

**Author:** [@andrewtagg](https://forum.library.adaptavist.com/u/andrewtagg)\
**Replies:** 0\
**Last updated:** [June 27, 2024, 6:31am UTC](https://forum.library.adaptavist.com/t/cloud-behaviour-set-field-read-only-in-a-given-issue-status/481 "2024-06-27T06:31:26Z")

</div>

Hi All, this might be a repost, but it took me a while to figure out. Overview Set a Jira filed to be read only when the issue is in a given status This example will work on the Create View in Jira Cloud only. /-----…

---

## [ScriptRunner for Confluence - Generate List of Group Permissions for ALL Spaces](https://forum.library.adaptavist.com/t/scriptrunner-for-confluence-generate-list-of-group-permissions-for-all-spaces/461)

<div class="topic-metadata">

**Author:** [@rkent](https://forum.library.adaptavist.com/u/rkent)\
**Replies:** 5\
**Last updated:** [June 11, 2024, 9:21am UTC](https://forum.library.adaptavist.com/t/scriptrunner-for-confluence-generate-list-of-group-permissions-for-all-spaces/461 "2024-06-11T09:21:10Z")

</div>

I’m trying to find a way to generate a list that will show which spaces contain permissions for a specific user group. I DO NOT want this script to delete or modify any permissions, I just want the list. I looked on the …

---

## [Attachment Validation on Create issue Transition](https://forum.library.adaptavist.com/t/attachment-validation-on-create-issue-transition/471)

<div class="topic-metadata">

**Author:** [@sanjay](https://forum.library.adaptavist.com/u/sanjay)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 2:05pm UTC](https://forum.library.adaptavist.com/t/attachment-validation-on-create-issue-transition/471 "2024-05-29T14:05:31Z")

</div>

Hi Team, Can we validate to add only CSV type file while creating issue in Jira. Please share your knowledge Note : I have already tried solution given by Adaptavist Library Thanks

---

## [ScriptRunner destroys Page load behind Proxy](https://forum.library.adaptavist.com/t/scriptrunner-destroys-page-load-behind-proxy/466)

<div class="topic-metadata">

**Author:** [@righter](https://forum.library.adaptavist.com/u/righter)\
**Replies:** 1\
**Last updated:** [May 17, 2024, 8:36am UTC](https://forum.library.adaptavist.com/t/scriptrunner-destroys-page-load-behind-proxy/466 "2024-05-17T08:36:00Z")

</div>

Hi We are using an SSLVPN Web Proxy Portal from Fortigate. The page is working, but it doesn’t load completely all: We debugged it with a non SSLVPN Proxy connection and saw that we have this error: Uncaught Synta…

---

## [How to Add a List of Users to 'Watch Descendants' for a Page - ScriptRunner for Confluence](https://forum.library.adaptavist.com/t/how-to-add-a-list-of-users-to-watch-descendants-for-a-page-scriptrunner-for-confluence/460)

<div class="topic-metadata">

**Author:** [@rkent](https://forum.library.adaptavist.com/u/rkent)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 4:44pm UTC](https://forum.library.adaptavist.com/t/how-to-add-a-list-of-users-to-watch-descendants-for-a-page-scriptrunner-for-confluence/460 "2024-05-06T16:44:07Z")

</div>

I’m looking for a way to take a list of users and add them to ‘Watch Descendants’ option for a page. There are built-in scripts to add ‘watchers’ in the traditional sense, but I’m struggling to find an option to add user…

---

## [Block large files with the ability to exclude files](https://forum.library.adaptavist.com/t/block-large-files-with-the-ability-to-exclude-files/394)

<div class="topic-metadata">

**Author:** [@Sake](https://forum.library.adaptavist.com/u/Sake)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 8:11am UTC](https://forum.library.adaptavist.com/t/block-large-files-with-the-ability-to-exclude-files/394 "2024-04-09T08:11:38Z")

</div>

The following pre-hook makes it possible to block large files, but with the ability to exclude certain files with a regex. The only wish I have is to make field mandatory or when checked, it should contain a value. imp…

---

## [Concealing Panels and Page Properties: A Script Runner Approach](https://forum.library.adaptavist.com/t/concealing-panels-and-page-properties-a-script-runner-approach/451)

<div class="topic-metadata">

**Author:** [@rwat090](https://forum.library.adaptavist.com/u/rwat090)\
**Replies:** 2\
**Last updated:** [April 6, 2024, 1:09am UTC](https://forum.library.adaptavist.com/t/concealing-panels-and-page-properties-a-script-runner-approach/451 "2024-04-06T01:09:00Z")

</div>

I’m trying to conceal certain panels or page properties items across 300 confluence pages. These pages were generated using a template, but the template is malfunctioning with several problems. I’m considering using Scri…

[Next page](https://forum.library.adaptavist.com/latest.md?page=1)
