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.

Choose

View all projects on JIRA header.

Choose a required project from the list, e.g. [IntDev] Salary System

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

Use keyboard shortcut

Ctrl+F then type pid

(warning) On the screenshot you can see the [IntDev] Salary System project ID

  • 15885

...

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.

(warning) we get:

Tip

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

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=15885&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=15885&issuetype=3&summary=Test

...

You 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=15885&issuetype=3&summary=Test&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=15885&issuetype=3&summary=Tecт&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=15885&issuetype=3&summary=Tecт&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.

...