Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Preselecting fields when creating Jira issues?

Markus Lepper
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012

The deep link to create a task (issuetype 3) in my project xxx (pid=10032) is e.g. https://xxx/jira/secure/CreateIssue.jspa?pid=10032&issuetype=3&Create=Create

Could I extend this link to have some more Jira-inbuilt fields preselected; e.g.

...&component=12345 or &priority=2 or &securitylevel=4

(Same question for custome fields)

Thanks a lot & BR,

Markus

1 answer

1 accepted

1 vote
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012
Markus Lepper
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012

Thanks Jamie!

Didn't know this page so far.

Played yround a bit and I think this is for another purpose= fully generate issues with defined fields set.

I need to have the "Create issue screen" with some fields pre-populated and the user could add more data before pressing "Create issue" button.

I need to extend this URL: https://xxx/jira/secure/CreateIssue.jspa?pid=10032&issuetype=3&Create=Create

Adding e.g. "&summary=test" does not add the text

Link from your linked page uses another script: http://xxx.atlassian.com/secure/CreateIssueDetails!init.jspa?pid=10032&issuetype=3

Any idea?

Markus

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2012

Yeah, you need the !init bit, otherwise if all fields are present, it will commit the issue. It's fiddly, I went through this a while ago, but it should be possible.

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2012

If you have an example that would probably be much appreciated by other people...!

Markus Lepper
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2012

Thanks Jamie,

took a bit time to play around but now it's working ;-)

Regards, Markus

Markus Lepper
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2012

Sure :-)

https://xxx/jira/secure/CreateIssueDetails!init.jspa?pid=10032&issuetype=3&priority=2&security=10524&components=10493&summary=Person%20xxx%20needs%20access%20to%20system%20yyy%20with%20rights%20zzz

works for requesting access rights.

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events