How to prefill Summary and other fields in OpenCreateIssueDialog Javascript API method?

Sid February 9, 2016

We need to prefill the summary just like we can prefill IssueType and ProjectId in the JIRA Javascript API module's OpenCreateIssueDialog  method. Currently we are using this:

AP.require('jira', function(jira) {
    jira.openCreateIssueDialog(function(issues) {
}, {
    pid: 'some pid',
    issueType: 'some issueType'
});

I tried adding summary as a key with pid and issueType but the API doesn't accept it.

2 answers

0 votes
TõnisO
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.
October 13, 2016

The only two parameters that you can right now specify are pid and issueType. The only "solution" to this problem is to build your own custom dialog.

0 votes
Jakub Zadrożny August 4, 2016

Does anybody know the solution for this issue?

Suggest an answer

Log in or Sign up to answer