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,299,005
Community Members
 
Community Events
165
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

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
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

245 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you