Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Alongside with the Field templates add-on, there is a workaround how to add values to fields on issue creation form. To add values on create issue screen you can manually create a link. After clicking this link a create issue screen will appear with fields pre-populated with values you wanted.

...

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=

Info

pid - project ID

Every project has its own ID. If you know it, just type it right after. If you don’t, you can also find project ID directly from your browser.

...

Expand
titleHow to find project ID.

Select Projects in Jira header bar. Then go to View all projects.

Choose a required project from the list (e.g. EU Analytics) and click on it.

Right-click on a page element and choose Inspect element in the opened menu.

Use keyboard shortcut Ctrl+F then type pid

On the screenshot you can see the EU Analytics project with ID: 24985

Same method can be used for other fields. Just use Inspect element on create issue screen or other screen where you see your field.

...

1. Project ID

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid= + add ID to the link in the address bar.  

Info

Add ?pid= to the address bar. And Project ID.

We get:

Tip

 https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985

As a project must have issue type, please define it's ID. (please see above)  

...

For example, the task ID is 3

Info

Add &issuetype=3 to the address bar.

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985&issuetype=3

3. Summary

Fill in the Summary field.

Info

Add &summary= to the address bar.

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985&issuetype=3&summary=Test+Issue

How to add text value:

Info

%0d%0a -a separator rubricating text in the description field

%2c -  comma

Replace spaces with the sign "+"

...

Project, Issue type and Summary are obligatory fields that must be specified to create an issue. Yet you can fill even more fields adding values to them.

...

Fill in the Description field

Info

Add &description=to the address bar.

How to add text value:

Info

%0d%0a -a separator rubricating text in the description field

%2c -  comma

Replace spaces with the sign "+"

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985&issuetype=3&summary=Test+Issue&description=First+praragraph%0d%0aSecond+paragraph%2cand+comma



Components

If it's necessary to specify Component in the issue creation form, you need to:

  1. Get to know it's ID

  2. Add the information to the URL

Info

Add &components= to the address bar.

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985&issuetype=3&summary=TecтTest+Issue&description=First+praragraph%0d%0aSecond+paragraph%2cand+comma&components=17312


Priority

Info

Add &priority= to the address bar.

Tip

https://jira.yourcompany.com/secure/CreateIssueDetails%21init.jspa?pid=24985&issuetype=3&summary=TecтTest+Issue&description=First+praragraph%0d%0aSecond+paragraph%2cand+comma&priority=1

...

You can customize any other fields presenting in the issue creation form. Just get to know its ID and field value (if present) and feel free to use it in URL.

...