Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I set various users in a custom field (multiple user picker) based on the assignee?

osvaldo plabst September 9, 2020

I want to set a custom field based on a assignee, something like:

 

If assignee = jhon.doe 

Team = martha.jhones, robert.doe, jensen.kenobi

And if the assignee is someone else, set other team for the custom field.

how can i get it done?

 

 

2 answers

1 accepted

1 vote
Answer accepted
Haddon Fisher
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.
September 11, 2020

Automation for JIRA is also an option....

Pro's Over ScriptRunner

  • Has a UI
  • Doesn't require scripting knowledge to maintain

Con's

  • Yet another plugin
  • Not super friendly to maintain if you have a lot of mappings\possibilities
osvaldo plabst September 12, 2020

Yes! I actually remembered that Automation has a Free but limited version, installed it and it worked without issues, automatically sets the team depending on the assignee.

Like Haddon Fisher likes this
0 votes
Gustavo Félix
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.
September 10, 2020

Hi @osvaldo plabst 
If you have scriptrunner, you could use scriptrunner behaviors.
Here is an example based on a similar scenario.

https://scriptrunner.adaptavist.com/4.3.4/jira/recipes/behaviours/setting-default-fields.html#_setting_defaults_for_selects_etc

Suggest an answer

Log in or Sign up to answer