Forums

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

Auto-populate Issue when creating from a board

Shannon April 26, 2019

Hi,
I had this working on one instance of Jira without any configuration on my part but now on a different server it is not working. They are both Jira 7.

I have a kanban board set up with a search that includes a custom field. I want the field that is defined for the board to be pre-set on the issue creation field. 

For example:

My Search is:
project = myProject AND "Team" = one AND component = Software ORDER BY Rank ASC

I want Team to be pre-set to "one" and component to be pre-set to "Software" when you hit the Create button from the board screen.

Also, does it make a difference if the board is part of a sprint or just a straight Kanban board?

 

 

2 answers

1 accepted

1 vote
Answer accepted
Nazar Sobchuk
Contributor
June 21, 2019

Hi @Shannon 

If you're on Jira Server, you can utilize Smart Issue Templates add-on and dynamically update it whenever you need to create a batch of issue with different component or for a different projectt (or any other criteria)

The plugin stores the input entered during the issue creation as a template which can be reused at any time to automatically populate the field values on the "Create Issue" form based on the selected template. 

 

Templates visibility can be privatešŸ”’(only you can use it) or publicšŸ“¢ (everyone can use it). Additionally, Templates can be either globalšŸŒŽ (applicable to any project and issue type) or restrictedā›” (available for certain project(s) and issue type(s) combination).

Here's an example:

Applied.jpg

Hope this helps,
Nazar

0 votes
Fazila Ashraf
Community Champion
April 27, 2019

Hi @Shannon 

Welcome to the community!

If any field other than the summary is mandatory, then the screen that pops up with 'create issue' on the board ((scrum/kanban) is same as the from the menu bar -'create issue'.

The preset values to fields can be configured by the jira admin from the field's default value configuration.

Please contact your jira admin to get help on this setting.

Shannon May 8, 2019

If I am the Jira admin, how would I do it? Our jira admin is not sure how and I have a sandbox to play in where I am the admin. If I could get it to work there then I can show them how to do it.

Shannon May 9, 2019

So once I have a default value configured then whatever value is set in the board search will be used to populate the field? In my case the default would never be used in a search. Each team has a name and the default would be none. Each board is for a particular team and that's what I want to auto populate.

Fazila Ashraf
Community Champion
May 10, 2019
Shannon May 10, 2019

Unfortunately I am not allowed to have script runner.

Fazila Ashraf
Community Champion
May 12, 2019

@Shannon  , then may be a javascript could help..  Am not an expert on js. i usually use SR behaviours to do this.

Suggest an answer

Log in or Sign up to answer