Forums

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

How to create a template for issue description?

Ronnie Hilmersson
Contributor
March 26, 2019

Hi everyone! 

I try to find out if there are a way to insert a template in the issue description that shows up for everyone when someone wishes to create a new user story. It could be a template where te designteam shoud do something, next part the test team and last one the developer team.

Any ideas? 

 

Jira Skärmklipp.PNG 

1 answer

1 vote
pelizza
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 Champions.
March 30, 2016

I have been using the html link approach (href="secure/QuickEditIssue!default.jspa?issueId=...") for a while, but now it doesn't work very well after JIRA 7.1.

After digging a lot, I've learned how to use the QuickEditPlugin.

For "create issue dialog":

JIRA.Forms
  .createCreateIssueForm({pid: projectId})
  .asDialog({windowTitle: 'Create Issue'})
  .show();
 
// OR
 
var createCreateIssueForm = require('quick-edit/form/factory/create-issue');
createCreateIssueForm({pid: projectId})
  .asDialog({windowTitle: 'Create Issue'})
  .show();

For "create subtask" dialog:

JIRA.Forms
  .createSubtaskForm({parentIssueId: parentIssueId})
  .asDialog({windowTitle: 'Create Subtask'})
  .show();

// OR

var createSubtaskForm = require('quick-edit/form/factory/create-subtask');
createSubtaskForm({parentIssueId: parentIssueId})
  .asDialog({windowTitle: 'Create Issue'})
  .show();

I hope it helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events