I see that on our production server when I open the following link:
the Cancel link in the Log Work dialog indeed is linked to http://our-company.com/secure/Dashboard.jspa
and also after I log work, I get redirected to the required address.
But for some reason this does not work on my local machine in JIRA SDK when I run JIRA with atlas-run command. returnUrl seems to be ignored. Why so and how do I use returnUrl when I wish to return to my custom plugin page after loggin work?
Community moderators have prevented the ability to post new answers.
Oh, I found out why. In SDK I was using a link with my PC name as host. Then I noticed that FastDev is using localhost instead. Thus I navigated to the localhost:2990 link, JIRA warned me that I'm using wrong BaseUrl (why wrong? after all, FastDev was using localhost:2990 to upload my plugin after recompile), then I clicked the JIRA message to update BaseURL to localhost:2990, and suddenly my returnUrls started to work as expected.
I guess, they have messed up something in SDK - JIRA is using both hosts localhost:2990 and mycomputername:2990 and getting confused somewhere.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.