How can you prompt for information before displaying the create screen

On the Atlassian Support site, when you create a ticket, you are first prompted to enter your SEN, then prompted for the rest of the information. Does anyone know how that is being done?

Also on the create, it is using the full size of your browser window, rather than the pop-up. Does anyone know how that is being done?

Basically I am trying to mimic the same behaviour on our own support system.

2 answers

1 accepted

Jobin's solution is definitely the easiest, as the Atlassian Support implementation involves a custom interceptor that checks for any url matching the "Create Issue" screen and hooks into that. Here is the servlet-filter straight from the source:

atlassian-plugin.xml:

<servlet-filter name="SEN Create Issue interceptor"
                    key="servlet-filter" class="com.atlassian.support.crm.filters.SENCreateIssueInterceptor"
                    location="before-dispatch" weight="200">
       <url-pattern>/secure/CreateIssue*</url-pattern>
       <url-pattern>/secure/QuickCreateUserIssue*</url-pattern>
       <dispatcher>REQUEST</dispatcher>
   </servlet-filter>

Thanks Dennis. I'll play and see if I can get it to work.

0 votes

For the first part, I am guessing they might have a plugin that does the redirection. For the second part, check this out: https://confluence.atlassian.com/display/JIRAKB/How+to+disable+Create+Issue+popup

Thanks for the info Jobin. That looks like it will do exactly what I need. I'll try it tomorrow, when I'm in the office.

I am still hoping that someone from Atlassian will see this post and have a simple answer for how to solve the first part of my query as well. I suppose that I could use the behaviours plugin and hide all the fields until our equivalant of the SEN is entered, and then once that field has data, make the other fields visiable. Its a bit of a pain, but it may work. I think. Atlassian, please make my day and tell me that you are doing something simple in your system, and oh ya, here is how you implement it. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,124 views 4 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you