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

6 votes
Answer accepted
Tuncay Senturk
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 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
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 7, 2021

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

Connie Leuderalbert May 7, 2021

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

Tuncay Senturk
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 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
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 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
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 6, 2021

Hi @Connie Leuderalbert 

Sorry for my memory!

Which post is that? :) 

Suggest an answer

Log in or Sign up to answer