Is it possible to specify multiple component values in URL for issue creation

Matthew Knatz September 15, 2022

I know that it's possible to generate an issue creation link with pre-filled values using the https://{jira_url}/secure/CreateIssueDetails!init.jspa?pid={project_id}&issuetype={issuetype_id}}&... URL, but I have a user who would like to be able to specify multiple component values. 

So far I'm able to create an issue with a single component without any problems:

https://{jira_url}/secure/CreateIssueDetails!init.jspa?pid=16900&issuetype=10001&components=16605&summary=Sample%20Set%20Component

I've tried

  • components=16605,16900
  • components=Component1,Component2
  • components=[16605,16900]

And pretty much every variation thereof using urlencoded/hex for the symbols and I just can't get it to work. Does anyone know if this is even possible?

Given this particular customer's use case I think we will go with a form that populates an API call eventually, but for now I'm looking for a quick win. Any help is greatly appreciated

2 answers

0 votes
Will Deroberts
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2023

You just need to add `components=` multiple times as query parameters.  In your case that would look like:

 

https://{jira_url}/secure/CreateIssueDetails!init.jspa?pid=16900&issuetype=10001&components=16605&components=16900&summary=Sample%20Set%20Component

0 votes
REGAYA Mouna _renexter_ October 20, 2023

Is there any help here? I am interested :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.4.3
TAGS
AUG Leaders

Atlassian Community Events