Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Drop-down slect list macro which lists the chosen groups user list - how to?

rumceisz May 22, 2025

Hi,

once I saw this kind of macro which was a select list contained all Confluence groups. When you selected a group it listed the user members below it. I'm not expert at groovy yet but I suspect that it's not a big deal.

Maybe one of you already have it?

Thank you!

1 answer

0 votes
Tinker Fadoua
Community Champion
May 25, 2025

Welcome to the Atlassian Community. @rumceisz !

Oh you mean to dynamic dropdown. Based on a selection from the 1st dropdown your 2nd dropdown will display only certain options.

https://www.scriptrunnerhq.com/help/example-scripts/dynamic-select-onPrem

Let me know if you have any questions

Best,

Fadoua

 

rumceisz May 27, 2025

Dear Fadoua,

 

thank you very much for your fast responseí4

I remmeber I wrote such cascading-like macro back in Jira 7.

In my cuurent case I have to combine groups with group members:

In the drop-down you can select a group from all active COnfluence groups. And then you click OK and get the user member list the particular group.

So the logic is the same as you mention but in this case the group list needs to be updated from the Groups and their members as weill.

So far I don't have a clue how to involve the groups in a select list. I thought of some Javascript can do it but I hope groovy is also capable of that.

Thank you!

Rumceisz

Tinker Fadoua
Community Champion
May 27, 2025

@rumceisz 

How big are the groups? Please keep in mind if the group has a lot of members it will take time to upload in the dropdown. Also where will you be pulling the groups and members from?

Best,

Fadoua

rumceisz May 29, 2025

Hi Fadoua,

our Confluence/Jira is not really big: the largest group: jira-users has 670 members.

Your second question is not clear for me. The groups and their members come from Jira.

Actually I just want to combine the Group members macro with a Group selector: First you select the group - can be autocomplete - of all the active groups -> then click OK -> and then the active user members of the group would be listed in a table.

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events