Forums

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

How can we hold redirect URL from create issue to view issue?

Manish Kumar Singh
Contributor
November 19, 2019

We want to hold the redirect and then want to resume the redirect between Create issue/report to View issue/Report page in Jira.

 

These are the following things we want to achieve:

  1. Login into the customer portal with customer credentials. 
  2. Create an issue/report.
  3. Hit the create button.
  4. It will redirect to the view issue page. We need to hold this redirect or we need to redirect to our Addon page and then after we will redirect to view issue page. 
  5. see the view issue page.

 

Could you please help us to achieve our requirements?

 

Thank you

1 answer

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 21, 2019

Hello @Manish Kumar Singh ,

From what I can read, it looks like you are building an add-on for Jira Service Desk Server and, when creating an issue, you would like to hijack the redirect to go to your add-on page before landing to the 'view issue' page. Is this correct?

If this is correct, please notice that this might not be the best place to get help on development related questions. In case of no answer in here you may want to refer to the resources listed into https://developer.atlassian.com/resources instead.

Specifically:

 

Otherwise, if my understanding is not correct, please provide more details.

 

Cheers,
Dario

Manish Kumar Singh
Contributor
April 23, 2020

Thank you @Dario B .
I find my solution to open a pop-up when created issue will get redirected on the view issue page.

Like Dario B likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2020

Thank for updating the thread @Manish Kumar Singh !

It might be nice for other customers to know a bit more on how you achieved this or maybe to point to any useful documentation or thread or any other useful resource :) 

Have a nice weekend,

Dario

Like Manish Kumar Singh likes this
Manish Kumar Singh
Contributor
April 24, 2020

Sure @Dario B . 
I have attached one panel into the footer of the creat issue page. 
Inside my panel, I have put one check-box and put information that you want this information or not. If the user is checking the check-box then I am creating a secure session variable and I am storing the checked value into it. 
And when the page redirects to the view issue page first time(after the issue creation) then I fetch the value from the secured session variable and based upon that I am taking an action. So, although the user came to view the issue page it will give them a feeling that the coming popup is also a part of the create issue process.

Thank you,
Manish


Like Dario B likes this

Suggest an answer

Log in or Sign up to answer