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
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,301 views 2 7
Join discussion

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