Would anyone know how I can get the actual value of Tempo plugin's "Account" custom field and not just the index with script runner?
issue.getCustomFieldValue(Account) returns the index and not the value.
Meaning, if I have 3 entries(Bilka, Føtex, Meny) and the value is set to Føtex the above call returns 2.
Hey Kevin,
Have a look at this page: https://confluence.atlassian.com/display/JIRA/Creating+an+Issue
There are some comments at the bottom, on how to customize a JS file to accomplish that.
Hope it helps.
looks promising (though more invasive than I'd hoped), but unfortunately I can't seem to get it to work. (My javascript skills are fairly rudimentary and I can't get any changes to have any effect).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had to read through ALL the comments to find the solution, (and install Firefox plus Firebug), but eventually I got it to work for me. Thanks for the link!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE!! This feature is now available as a plugin: Issue Quick Start
works up through JIRA 7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thx!
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.
@Darcy Stuart: Andrew Heald has released a new version of his Quick Start plugin. I have installed it on JIRA 7.0 and it works perfectly. Give it a try!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Kevin Mote Thanks for the heads up! You've made our service desk team very happy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Darcy Stuart: Credit Andrew Heald. He worked on this all weekend (pro bono!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Installed it on JIRA Software 7.1.7 and it mysteriously didn't work for the first two tries but it works now. It loads the new issue in about 1 sec after the fly-in notification dissapears. I am falling over with joy. Thanks to @Kevin Mote and even more thanks to @Andrew Heald!
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.
Here's my final solution, for others who may need this: (tested on v.5.1.3)
create a new subfolder and javascript file on server: <tt>INSTALL\atlassian-jira\atlassian-jira\includes\js\custom\custom.js</tt>
jQuery(document).ready(function($){ if (JIRA && JIRA.Forms) { JIRA.Forms.UnconfigurableCreateIssueForm = JIRA.Forms.UnconfigurableCreateIssueForm.extend({ handleSubmitSuccess: function(A){ console.log(A); //A is the variable assigned to the asynchronous action's response if (this.helper.getCreateAnotherCheckbox().is(":checked")) { this.helper.handleSubmitSuccess(A); } else { window.location = '/browse/' + A.issueKey;}}});}});
<script type="text/javascript" src="/includes/js/custom/custom.js"></script>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I mentioned in my answer below, there is now a fantastic plugin that provides this functionality.
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.