need script for scripted field

Suseendran Rajkumar March 1, 2024

We are using Two custom fileds

1. Select list multi choice (Team)

2. Group picker multi select (Approver group)

 

we need to update 2nd custom field value based on input of first field.

Ex. 

Team

-Alpha team

- Beta Team

Group picker 

- Alpha group

-Beta Group

 

In that we select Team Field "Aplha team" anther field Group picker "Alpha Group" need to update automatically.

if we select both values both goups are need to be updated.

we need script for jira cloud.

 

Please let us know possible ways for this requiremnts.

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 1, 2024

Hi Suseendran,

Do you mean you want to automate what goes into the group picker, or do you want to change the selection being offered to the users when they are in the create screen?

If it is the second, then have you thought about using a cascading-select list for this instead of trying to automate?  If that won't work for you, then I would look at Scriptrunner's Behaviours, specifically the .setOptionsVisibility function.

Suggest an answer

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

Atlassian Community Events