Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,444
Community Members
 
Community Events
165
Community Groups

Web panel on the JIRA Service Desk - Customer portal requires a manual browser reload to display

Edited

I have a web panel on JIRA Service Management - Customer Portal, which doesn't load automatically on navigating to the request creation page but on manual browser reload the web panel comes up. The web panel is working till JIRA version 8.13.


With the JIRA version 8.14 and JIRA Service Management version 4.14 and later, this problem of browser reload came up. 

Just to elaborate on the issue more. JSM customer portal provides three screens that a customer need to go through to create a request ticket.

1. Help center page for the project

Screenshot from 2022-01-20 08-30-10.png

2. Request creation page

Screenshot from 2022-01-20 08-33-59.png

3. Request page

Screenshot from 2022-01-20 08-35-26.png

The same web panel is shown on each screen. Web panel loads properly on the 1st and 3rd screen but fails at the 2nd screen. 

public class ContextProviderServiceDesk implements ContextProvider {

@Override
public Map<String, Object> getContextMap(Map<String, Object> context) {

// logic using context map - this is provided by atlassian
// This map provides a 'serviceDesk' key which give project related information
// Like project-id, project-key
// Logic uses this project-id

}
}

On further debugging, I found that this context Map which JIRA Context Provider provides, is showing non-consistent results. Basically, when you navigate from 1st screen to 2nd screen the context map is not having the 'serviceDesk' key but as soon as you reload the page the context map starts showing the 'serviceDesk' key. This behavior starts happening from 8.14 onwards. Since I need this key to get the project related details like project-id, project-key etc, to use it for the web panel logic. 

But why a manual reload is required to get the complete context map values, why isn't they are working on the first go when we navigate from 1st screen to 2nd screen.

1 answer

Facing the same issue, could we please get some support on this?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Coming Soon: Insight Changing to Assets

The 2020 acquisition of Mindville added powerful asset and configuration management capabilities to Jira Service Management in the form of Insight. Following the completion of that integration, custo...

103 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you