Dr. Juande Santander-Vela<p>Today I Learned something, and I want to make a Public Service Announcement: you can create a link that pre-populates fields in Jira before you submit them!</p><p>If your server is jira.example.com, then you can use `CreateIssueDetails!init.jspa` with a URL that has the different fields in it.</p><p>For instance:</p><p><a href="https://jira.alma.cl/secure/CreateIssueDetails!init.jspa?pid=1234&issuetype=2&customfield_11011=1011&customfield_11013=12013&priority=5&summary=Please+enter+your+ticket+summary" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jira.alma.cl/secure/CreateIssu</span><span class="invisible">eDetails!init.jspa?pid=1234&issuetype=2&customfield_11011=1011&customfield_11013=12013&priority=5&summary=Please+enter+your+ticket+summary</span></a></p><p>Would create an issue with summary "Please enter your ticket summary" in the project whose `pid` is 1234, of the type encoded by `issuetype=2`, and values for the custom fields encoded by 11011 and 11013 with the options set by values 1011 and 12013, respectively, with the priority encoded by value 5.</p><p>You need to find the values for those options custom fields by looking, for instance, at the XML export of a ticket you want to use as template.</p><p>For instance, if there is a ticket <a href="https://jira.example.com/browse/EXAMPLE-1" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">jira.example.com/browse/EXAMPL</span><span class="invisible">E-1</span></a>, you can export it to XML, and look for `project id`, and the number after it is what you have to put after `pid`. Then look for the name of other custom fields, and use the content of the `customfield id` that provides it, and equal it to the value of `customfieldvalue key`.</p><p>And for priority, use the value after `priority id` that matches the priority that you want.</p><p>Hope that's useful!</p><p><a href="https://astrodon.social/tags/TIL" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TIL</span></a> <a href="https://astrodon.social/tags/PSA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PSA</span></a> <a href="https://astrodon.social/tags/TodayILearned" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TodayILearned</span></a> <a href="https://astrodon.social/tags/PublicServiceAnnouncement" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PublicServiceAnnouncement</span></a> <a href="https://astrodon.social/tags/Jira" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Jira</span></a> <a href="https://astrodon.social/tags/Atlassian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Atlassian</span></a> <a href="https://astrodon.social/tags/AtlassianJira" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AtlassianJira</span></a> <a href="https://astrodon.social/tags/Template" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Template</span></a></p>