Determination of the value of a context list field based on the user group

Emilia KASPRZYK
Contributor
October 25, 2023

Hi 

Once again, I need your help.

I would like to set up the value of the context list field based on the user's group assignment, but the action to be performed does not have this field. Can this be programmed somehow differently smartvalue or some such?

 

2023-10-25 08_54_48-Custom fields - Jira i jeszcze 1 strona — Służbowy — Microsoft​ Edge.png2023-10-25 08_52_29-Automation - Jira i jeszcze 8 stron — Służbowy — Microsoft​ Edge.png

 

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 25, 2023

Hi @Emilia KASPRZYK 

Would you please clarify what you are asking?  For example...

Are you trying to dynamically change the possible values for a cascading field (for later use in issue create / edit) based on issue assignment?

Or, are you trying to set the values of the cascading field, based on the issue assignment?

Or...something else?

Kind regards,
Bill

Emilia KASPRZYK
Contributor
October 25, 2023

Hi as visible on picture. 

When: issue assigned

and Asignee is in a specific users_gruop 

set a value for field ABC (secelct list cascading)

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2023

Thank you for clarifying the question.

You may do that in the Additional Fields area, using advanced edit with JSON, as described here: https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Cascading-select-custom-field

The value in that Additional Fields box would be something like this:

{
"fields : {
"customfield_11447" : { "value": "parent_option1", "child": { "value" : "p1_child1"} }
}
}

Please substitute in your field name / custom field id, and the other details. 

Emilia KASPRZYK
Contributor
December 5, 2023

Hi,

 

thank you for copying the atlassian documentation. I, however, need specific help. What should I do in this particular case and is it even possible?

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2023

Based on what you described, it is possible.

As your company's Jira site and custom fields are different from others, your solution will be different.  What I provided is an example of how to do this and the steps to do so; identifying your field, values, updating the rule, and testing would be done by your team.

I recommend working with your Jira Site Admin to make this change.

Emilia KASPRZYK
Contributor
December 5, 2023

I am Jira Site Admin hahahhahah

And as it described in ticked the question is related to Jira Software Cloud Solution ;)

 

Thank you for your commitment ;)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events