URL parameters creating a request on Jira Service Desk portal

Hi,

On Jira you can send parameters for default form values:

It's documented here

Like this:

/secure/CreateIssueDetails!init.jspa?pid=10001&issuetype=1&summary=say+hello+world&reporter=user

My question is: It's possible to do that on Service Desk Portal create form? I didn't find it on documentation.

Thanks a lot,

--Hugo

2 answers

0 votes

That particular article was created well before Jira Service Desk ever existed.  As such Service Desk is built a bit differently.   And in turn Jira (Core) has changed significantly from the time that article was originally created.

To the best of my knowledge there is not a means to create JSD issues in this method.   In addition to that limitation, there are a number of potential security concerns with trying to implement this kind of setup today in Jira.   Particularly the concern of cross-site scripting/forgery presents a real limitation to using that guide today.  

The guide briefly makes note of that and in turn suggests the use of the Jira Software REST API in Jira (or in your case the Jira Service Desk REST API Reference) in order to create issues if you are looking to automate their creation or use scripting of various kinds to do this.

Hi Hugo,

A URL for a specific Request Type is no problem -- just open the Portal, select the Request Type and copy the link from your browser's URL bar.

Concerning pre-populated fields: it is not possible today (Mar 2018) but there is a Suggestion that you can vote for and watch: https://jira.atlassian.com/browse/JSDSERVER-4049

Best

Martin

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 13, 2018 in Jira Service Desk

Jira Service Desk – Don’t be afraid, the journey begins with curiosity!

...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...

37,453 views 13 39
Read article

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