Forums

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

How do you change "Summary" field name using Scriptrunner?

Connie Leuderalbert May 6, 2021

I saw a previous post that this was possible by @Tuncay Senturk.  I am new to Scriptrunner, is anyone aware of code I could use to do this?  Thanks.

 

Connie

3 answers

1 accepted

7 votes
Answer accepted
Tuncay Senturk _Snapbytes_
Community Champion
May 6, 2021

Thanks for reminding, here are the steps defined below:

  • Go to Behaviours section of the Script Runner.
  • Add a new Behaviour (name something and click on Add)
  • Click on cog icon and map this behaviour to a project or issue type, anything you want accordingly.
  • Click on cog icon and Edit
  • Select Summary in Add Field dropdown.
  • Use the script below
    def field = getFieldById(getFieldChanged())

    field.setLabel("Renamed Summary Field")
  • That's it

I hope it helps,

Let me know if you need clarification.

Tuncay

Connie Leuderalbert May 7, 2021

Thank you!  That did just what I needed it to do!

Tuncay Senturk _Snapbytes_
Community Champion
May 7, 2021

@Connie Leuderalbert but you've marked the other answer as accepted :) 

Connie Leuderalbert May 7, 2021

@Tuncay Senturk _Snapbytes_ who knew accepting answers could be so complicated.  I fixed it!  Thanks again for the help! 

Tuncay Senturk _Snapbytes_
Community Champion
May 7, 2021

You're very welcome :) 

0 votes
Alexander Bondarev
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.
May 6, 2021

Hi, @Connie Leuderalbert ,

What do you want to achieve with this?

Tuncay Senturk _Snapbytes_
Community Champion
May 6, 2021

The purpose is to rename the summary field.

Alexander Bondarev
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.
May 6, 2021

For what? 🙄

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
May 6, 2021

Hi @Connie Leuderalbert 

Sorry for my memory!

Which post is that? :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events