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,229
Community Members
 
Community Events
184
Community Groups

Automatic Content Creation

Edited

Hi,

 

I have an insight type field called "Affected Business Service" on the Create screen. On the View screen, I have a text type field called "Spinnaker Pipeline". If the user selects the 'Billing Service' option in the "Affected Business Service" field, I want the 'Helm deployment and Pod restart' content to be automatically set to the "Spinnaker Pipeline" field on the View screen.

How can I write a script for this?

 

Have a good day :)

1 answer

0 votes
Jeroen Poismans
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 27, 2022

Hello,

Few questions:

  • Is the "Spinnaker Pipeline" field visible on the Create screen?
  • If so, should the content of this field change on the Create screen when selection is made in "Affected Business Service"?

==> If answer here is Yes, then you would need a Behaviour (script).

==> If answer is No, you won't need a script if you have the JSU or JMWE app (you could use postfunction).

==> Alternatively you could use an Automation that on Create has a condition JQL where "Affected Business Service" has the trigger value and as action set your "Spinnaker Pipeline" field. This however would require the Automation for Jira app (since you are on Server).

==> If all above is not applicable, you could use a script postfunction setting the value.

Can you elaborate on your case?

 

Kind regards,

Jeroen

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events