Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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 prepopulated with values you wanted.

Steps: 

Copy from the browser address bar and paste:

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.


 How 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.  

(warning) we get:

 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)  

2. Issue Type

Now, please specify Issuetype value.

For example, we need to create a Task. To do so we must firstly know its ID. You can either ask your Jira administrator or find it on you own using your browser.

For example, the task ID is 3

Add &issuetype=3 to the address bar

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

3. Summary

Fill in the Summary field.

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

You can fill even more fields adding values to them.

4. Description

Fill in the Description field


Add &description= to the address bar

How to add text value:

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

%2c -  comma

Replace spaces with the sign "+"

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

  1. Add the information to the URL

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

Add &priority= to the address bar

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.

Next time you need to create an issue use the link you’ve made to open an issue create screen with the fields already containing values.

Or … you can use Field templates add-on to make own templates for any text fields. And not only on create screen.

  • No labels