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,887
Community Members
 
Community Events
185
Community Groups

how can I add a custom field into all screens

hi community , I created a custom field , but I need to know how can adde it this field into all screens without select screens one by one... 

in addition to the above is possible that when create a new project this fields appears automatically into their screen?

 

thanks a lot in advance.

4 answers

Figured out some JS that works (on Cloud at least, not tested on Server) to run on the page to check all the boxes.

document.querySelectorAll("input[name=associatedScreens]").forEach(input => input.checked = true)

Hi,

on Data Center, visually it works but no field is visible when creating the task

 

image.pngimage.pngimage.png

UPDATE

Re-index fixed everything 

Hey @Nika Melikidze this trick is for the /secure/admin/AssociateFieldToScreens!default.jspa route where you are associating fields to screens.

Like Nika Melikidze likes this

You can go in to associate field flagged to screens and select all screens.

Unfortunately that does not help with any new projects or screens.

We have also quite huge amount of screens and sometimes new custom field needs to be added many screens and finding and clicking one by one is quite pain. 

 

Idea for quick improvement: add "select all" in screen selection view. 

0 votes
Cody Stevens
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.
Feb 06, 2020

Hey @Abner Severino 

You may be able to write something with ScriptRunner but from my research it doesn't look like you can. Looking into their Script Listeners, you cant watch for when a project is created or a new screen is made and that would be the only way I can think of with ScriptRunner to do what you want.

Being in cloud limits your options with this. Referencing this post but In Server you could set up a listener and then use the REST API to modify the screens. Cloud unfortunately does not have listeners.

I hate to say it but I don't think this is possible.

Suggest an answer

Log in or Sign up to answer