How to assemble an URL to access a project page and automatically open the create story dialog?

Kevin Zhou December 17, 2021

I want to assemble an URL with necessary URL parameter, and when others open such URL, the page will access to the project page and automatically open the Create Story dialog directly, and some input/select field of Create Story dialog will also automatically be filled according to the URL parameter.

 

Some thing like https://jira.xxx.com/projects/xxxxx/issues/xxxxx?action=createIssue&projectId=xxxxx&type=story&priority=xxx.....

 

If Jira have such ability, can provide more detail instruction document link will be appreciated.

2 answers

2 accepted

2 votes
Answer accepted
Vishwas
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.
December 17, 2021

Hi @kevin zhou 

I hope you want a direct URL to create a story issue type in a specific project.

Sample URL :

https://jira.abcd.com/secure/CreateIssue.jspa?pid=<project_id>&issuetype=<issue_id>

Example:

https://jira.abcd.com/secure/CreateIssue.jspa?pid=17600&issuetype=12000

to find project_id:

Go to Project > View all Projects
Click on the Project Name for the project which you want to view the project id of
Click on Project Settings in the lower left corner.
 You must be a project administrator for the project or a Jira administrator in order to view the Project Settings page.
Hover your mouse cursor over the Details button and you can view the project id in the navigation bar at the bottom of browser.


to find issue_id:

In Jira, navigate to Project Settings > Issue Types
On that page, hover your mouse cursor over the Issue Type in the left menu
Jira will display the issue type ID URL in the browser's status bar:  https://<domain>.atlassian.net/secure/admin/EditIssueType!default.jspa?id=1

2 votes
Answer accepted
Radek Dostál
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.
December 17, 2021

Suggest an answer

Log in or Sign up to answer