I am plugin I bring the Jira issue creation dialog using secure/CreateIssueDetails!init.jspa. I want the get the url of the issue created. How can I get that programatically once user press the Create Issue button?
You don't.
At the point the create dialogue takes over, your code is no longer being run - you've jumped out to different procedure.
All you can do is create a post-function on the create that can capture what you need and feed it back to where you need it somehow.
@Nic Brough -Adaptavist- what do you mean by - " create a post-function on the create that can capture what you need and feed it back to where you need it somehow.". Can you give me an example of such post function which will tell me the url / id of the Jira issue created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I mean what I said. Add a post-function to the create transition in the workflow. That will need to store the data about the issue that you want to use in your process. Then you need to work out a way to read it from there.
I can't tell you more than that, as where you store the data and how you know where to send it is entirely down to your code and where and how it is going to get that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.