It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update a Custom Group Picker Based on Security Level

Ricky Lin Nov 16, 2017

[Security Levels: ]

Level 1 has Group A and Admin Group
Level 2 has Group B and Admin Group
Level 3 has Group C and Admin Group

[ Custom Group Picker: ]

[ Goal: ]

When Security Levels 1 and Level 2 are selected, the Uploaders Group Picker will be updated so that only Group A, Group B, and Admin Group will be able to perform the next transition in the outgoing Status.

[ Problem: ]
1) I don't have a clean way to select multiple Security Levels by default.
2) I don't have a way to extract the Group/User/Role information based on the selected Security Levels.

I have Script Runner and JMWE installed in the instance.  The post-function options seem to be very limited for what I'm trying to do (Update Custom Field X based on the selected value(s) in Field Y)  Has anyone ever had to do this before?  Any help would be appreciated...

2 answers

0 votes
Alexey Matveev [cPrime] Community Leader Nov 16, 2017


I do not understand your Goal. What is the connection between the Uploaders group picker and the next transition? Do you have a condition on the transition? If so why do you need the custom field and what do you want to store there?

Ricky Lin Nov 16, 2017

Hi ALexy!  Thank you for answering (See the workflow attached) 

Let me try to clarify (see attached for the simplified workflow):

My goal is to have the Admin Group define a list of select users (Uploaders) who are to work on the ticket (Transition 1) and make it so that only the Uploaders+Admin Group can see and work on the ticket (Transition 2) to completion  in the actual use case, Admin Group may select to up to 7 groups to do the work, but you never know which ones will be selected.

In short:

1) There is to be a condition where only the Uploaders can execute Transition 2.
2) I need the custom field picker to store the list of users who will be working on the ticket as picked by admin.




0 votes
Alexey Matveev [cPrime] Community Leader Nov 16, 2017

If security level chosen to  Level 1 then only Group A and Admin Group will be able to see the issue which means that only they will be able to transition the issue. In the Uploaders custom field you can can add aditional users. You do not need to copy users from Group A and Admin Group to the Uploaders field.

Ricky Lin Nov 17, 2017

Hi Alexey,

The thing is we want to add up these users to the Uploaders group somehow (whether it be via Custom Field or Security Level).  The idea is also try not to have the Admin Group users pick from the Uploaders field because it'll list all Groups available in JIRA, which may cause confusion.

Another approach I was thinking of was maybe doing a select list, where each option will append Group X and Admin Group to the Uploaders custom Group field.  But I do not know how to do it so that the options add up rather than overwriting (copy value from one field to another)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Marketplace Apps & Integrations

Demo Den Ep. 4: Continuous Integration with CircleCI & Jira Software

Get ready! Demo Den Episode 4 is coming your way on Tuesday, May 28, 2018 with a Continuous Integration and Delivery special demo. CircleCI Director of Solutions Engineering, Eddie Webb will show us ...

486 views 0 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you