Link to create an issue with fields pre-populated

Adam Vavrek January 21, 2021

Hi,

I'm trying to create a link that when a user clicks it, it creates an issue in a Project with certain fields filled out. Specifically: Project and Issue Type. I thought I have the URL right but I must be missing something.

https://idmeinc.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=MOPS&issuetype=1<p>test<%2Fp>

When I test the link, I am getting an error "You have not selected a valid project to create an issue in." 

Where do I find the PID?

1 answer

1 vote
Digimetis January 21, 2021

Hi Adam,

It should be possible to get the PID from the JIRA API -> https://idmeinc.atlassian.net/rest/api/3/project/MOPS , for example in your case.

Hope that helps 

Adam Vavrek January 22, 2021

Thank you! It very much does. Last question for you: I'm trying to also enter:

  • Priority = None
  • Assignee to myself
  • and a custom field called Report Type

I found the key values here but can't seem to find out what the value should be. For instance, for the assignee, I've entered my full name and also my email address - I tried both in quotes and without.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events