Pre-filled fields upon "Create issue"

Hi,

I have not able to find this info anywhere.

Is there a way that we can have the Summary and Description fields pre-populated with a text template when an end-user clicks on the "+ Create Issue" button? We would want the text used to pre-populate in those fields dependent on the Issue Type (e.g. Bug, Story, Epic).

We used something like this in Redmine (https://github.com/otaviofcs/redmine-issue-template) before we switched to Jira. In that case we had to select the template we wanted to use and then insert it in.

I'm fine with the same functionality of that Redmine plugin, but it would be cool if the fields could be prepopulated.

Thanks!

-Rich

3 answers

1 votes

Options are javascript to set a value if none exists, or behaviours plugin to do it.

Behaviours script example:

        def summary = getFieldById("summary")
        if (! summary.getValue()) {
            summary.setFormValue("Summary template...")
        }

@Jamie Echlin [Adaptavist]
I'm new to JIRA, where do I do this? (Feel free to point me to a documentation link)

This is only available for scriptrunner server right? not for the cloud version?

which is odd, considering that this quesiton had jira cloud as a tag on it

@Jamie Echlin [Adaptavist]

can we also prepopulate the description in the subtask?

I want some content to be already there(prefilled) in the description field.

For example, can you have “Test” filled into the description field by default?

I'm using workflow post-functions to sort of do this without any plugins. It may not prepopulate the fields at the create screen, but once you create the issue those fields are populated via that workflow action. I would just omit those fields that need to be prepopulated from the create screen altogether and have the workflow fill it in. Later you can edit those fields through an edit screen or workflow function.

Hrm, but you can't create an issue without a summary... also seems painful having to do a transition just to enter summary and description.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,167 views 13 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot