Hi. I am trying to prefill the description field of an issue with a text template. I understand the native description field is a core field for JIRA so I have created a custom field titled "Description Software Approval" and I have defined the values by adding in the prefilled text I want. When I go to create an issue I now see the core Description field as well as my custom Description field and my text is prefilled. Nice progress but I just want one description field vs my users seeing the core description and the custom description. I am stuck at figuring out how to edit the workflow transitions and post-functions so that the value from my custom description field populates in to my core description field. Based on other posts I've read I need to create a post function to copy the value of my custom description inside my core description field. When I look at available post functions, I see one titled "Copy field values [ScriptRunner]". Is that indeed the post function I should use? I have not yet purchased ScriptRunner so I am also curious if I can accomplish this without the add on.
Thank you for any advice!
I would recommend that you do buy the scriptrunner plugin.
This is a great add-on that expands Jira usage basically to your own imagination.
Scriptrunner has a feature called Behaviors that allows you to do a great many things to system or custom fields on screen load. or field update (like hiding a field if another field is selected, or changing the values in a pulldown based on another selection).
Meaning you don't need a custom description field to populate the Description field with your requirements.
I've done exactly what you are looking for many many times using Behaviors.
I would recommend that you look into this further to satisfy your requirements.
Thanks
-CN
@Jonathan have a review of this page
Scriptrunner behaviours-tutorial
Exactly what you are looking for ==
Look for this section:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Craig! I remember we created one before. Now I will be doing it again in one of my projects. The Scroptrunner Behaviour works like a charm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.