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!
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.