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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,007
Community Members
 
Community Events
184
Community Groups

Set form value for Team field from Advanced Roadmap using Scriptrunner

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 12, 2023

Hi

 

I'm looking into a way to select automatically a Team in my create issue form. Is there a way to do that ?

When I create a Story and set an Epic Link, I want the Story to automatically have the Team value of the Epic set in the Story form if any letting the user update the value if he wants. I've already figure out the "get value from epic" part. 

 

I've tried using Behaviours but the Team field do not behave like a select list field and I did not managed to figure out what is the format to use or if it's even possible.

 

I would like to avoid having to do it using a postfunction or automation (if field empty then set the default value) because I want the user to be able to see the Team that will be set before submiting the issue. 

 

Regards

 

 

1 answer

0 votes
Karim ABO HASHISH
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 14, 2023

hi @Florian Bonniec 

I didn't try it before but I found a thread that could help. check it out and let me know how it went for you.

https://community.atlassian.com/t5/Jira-questions/How-to-set-Portfolio-Team-field-on-an-issue-with-ScriptRunner/qaq-p/928890

You may test it first in the console for one ticket before taking it further into the behavior.

Cheers,

Karim

Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 16, 2023

Hi, thx, this will work in a postfunction or listener but unfortunately not for behaviour.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events