[Jira] hide warning or error message when creating issue from url

Xavier
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.
October 29, 2018

Hi all,

is there a way to have a Jira issue creation screen without error message ?

I explain.
I use a Confluence page to create a Jira Issue via an url ie:

https://jira/CreateIssueDetails!init.jspa?pid=mypid&issuetype=myissuetype&customfield12400=xxx

My creation screen contains some required field that I can't prefilled. So, errors appears

image.png

This is normal.

But is there a way to hide those error on the top of the screen (just have the error below each required field) ?

 

Thanks in advance.

Regards

2 answers

1 accepted

4 votes
Answer accepted
Payne
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.
October 29, 2018

We use a slightly different URL that doesn't show any required field warnings (though it does indicate them with a red *) 

Instead of 

https://jira/CreateIssueDetails!init.jspa?pid=mypid ...

try

https://jira/secure/CreateIssue.jspa?pid=mypid ...

Xavier
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.
October 31, 2018

Hi Seal,

thanks, this is exactly what I need.


Regards,

Xavier

Xavier
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.
October 31, 2018

Hi Seal,

I just test your solution. It works but now, fields are not prefilled with values passed on url .

All my fields are empty.

Is it possible to combine both ?

regards

Payne
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.
October 31, 2018

Yeah, all we pass is the project ID and the issue type ID. It seems that other field values cannot be passed; see and vote for https://jira.atlassian.com/browse/JRASERVER-23590 

1 vote
Xavier
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.
October 29, 2018

Info: I need to let those field "Required". Just, is there a way to remove the "aui-message error" code inserted on top of page ?
regards,

deepali3031 March 30, 2023

Hi Xavier,

Were you able to remove the "aui-message error" code inserted on top of page, even when fields are required?

Thanks!

Suggest an answer

Log in or Sign up to answer