Can we have a url so that some one can navigate directly to create an issue with pre populated values like epic, title etc.?

Kuldeep Sharma August 17, 2014

Can we have a url so that some one can navigate directly to create an issue with pre populated values like epic, title etc.?

We wanted to provide a link for our application from where user directly navigates to create file an issue. That issue should have some pre populated fields which are read only.

Can we achieve this in some way?

1 answer

1 accepted

0 votes
Answer accepted
Alexey_Rjeutski__Polontech_
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.
August 17, 2014

Maybe something like this:

<yourjirahost>/secure/CreateIssueDetails!init.jspa?pid=10000&issuetype=1&summary=&priority=1&duedate=14%2FAug%2F14&assignee=-1&environment=test&description=<p>test<%2Fp>

You sould fill proper issue type and project id. As for the other fields - they should exist on the screen and you should know direct format that is used (i.e. for epic it is "key:PRJ-1" - something like that)

Kuldeep Sharma August 17, 2014

Thanks Alexey,

Just one more question, is there a way in which we can hide fields we do not want the user to enter when he creates issue using the url.

Regards,

Kuldeep

Alexey_Rjeutski__Polontech_
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.
August 17, 2014

if you mean fields in common - you can remove them from creation screen. If you mean prepopulated fields (so user will not be able to change pre-populated value) - either you should develop your own fields that will not accept user change, either create some "hack" with javascript to hide unneeded fields. You can place that javascript into custom field, some web item or even announcement banner.

Suggest an answer

Log in or Sign up to answer