Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Srcipt runner - Baptism by Fire

Michelle Sharp June 7, 2024

Our Atlassian Analyst left in February, and I have been left to my own defences trying to maintain, tweak and update some of the behaviours he left behind I am 1000% new to this with basic If else behaviours now mastered.   I am now venturing into the world of Assets and trying to circumvent creating 209 additional custom fields in order to achieve the level of granularity required for a specific portal setup. 

Right now, I am trying to work out how to dynamically update the behaviour a user sees using objects and attributes from Assets and associated group permissions.

Scenario: only users in Iceland can see the apps associated to Iceland, and rather than having it hard coded via a security group and custom field ( I have 209 to create) to make it even remotely dynamic of AD attributes and Asset attributes - try being the main word here.. anyways that's me.. had anyone else managed this??

1 comment

Comment

Log in or Sign up to comment
MattD June 7, 2024

That's a tough situation. I would start by deciding if a user has to be able to select one or more than one app. Then see where the relationship between a user and a subset of apps is defined.

1. How can you know which region a user is part of?

2. How to know which apps are for that region?

If that info is available in some other system, you could consider using a REST call to retrieve the list of apps that should be shown. If not, then. you will likely end up hard-coding the regions/apps locally in a script.

The quick and dirty alternative is a custom field that has options made up of the region and app names, e.g. "Iceland - App 1", "Iceland -App 2" but this can get unwieldy

TAGS
AUG Leaders

Atlassian Community Events