Comments
-
Check out the source code which accompanies @Matt Doar's Practical JIRA Plugins book. The source is available on marketplace. It has a nice example of how to do this.
-
Idea for P3 plugin!
-
You can write your own custom field that uses javascript geolocation to get the user location of the creator. However there will be a popup that the user will need to agree to, it's not supported in old browsers, and quality of location info can vary when corporate users connect behind proxies. That will give you a…
-
You can do all this with javascript but in my opinion it's fragile, likely to break when jira is upgraded, and difficult to test due to the fact that custom field IDs will invariably be different from dev to uat, and uat to prod. If you use the behaviours plugin you can add a new behaviour, add the Resolution field, click…
-
Maybe your localhost has an old version somehow, or maybe you hacked the script and it's still in your classpath? Anyway, no problem.
-
this was a regression, fixed in latest release: 2.1.14
-
I will take a look at this shortly. What should happen is the common subset of custom fields which apply to both source and target get cloned.
-
No coding is required with script runner, see https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Clonesanissueandlinks
-
We've done this a lot recently: https://answers.atlassian.com/questions/150179/how-to-move-an-issue-programatically-to-a-different-project A clone then a delete seems reasonably straightforward, although the user is going to see an "issue not found" page when the transition finishes.
-
Can you give us more info on how it's not working? An easier alternative might be to use the built-in script, "Clone and link" with some "additional code" for setting the project. I think this has been done before.
-
I have never used it but there is https://marketplace.atlassian.com/plugins/jql-pro. Seems to create a bit of a disconnected experience, although that's no fault of the plugin.
-
> How do I get only the Epics that are linked to from Issues in the current Sprint? If you can use Script Runner, there are functions and some examples that might help here: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-MoreComplexExamplesYou can filter further on the…
-
Hrm, my bad. Perhaps then just use linked issues with a "Composes" type rather than subtasks.
-
The sub-tasks just need to have a security level that means the client can't see them. The security level can be set programmatically, eg through a post-function on create, or explicitly.
-
Can you try upgrading to the latest paid version just to see if it's a fixed issue, you can downgrade afterwards if you want. I'm not really sure of your question anyway, are you saying it doesn't find issues when running as a service?
-
Is there a field for specifying which user to run to execute the service as? If not, you will need to upgrade. The last free version probably has this.
-
Relatively straightforward to install yes, and Atl will give you a backup of your database to restore. But don't forget to take in to account the time you will need to spend in future doing upgrades etc.
-
for script runner to find issues with subtasks that have labels it would be: issueFunction in parentsOf("labels in ('XYZ')) but no it doesn't work for OD.
-
If this relates to script runner, please add the script runner tag, so the right people see it.
-
All boards have a query, and the columns are normally statuses, so you can get the contents of any column. In terms of the ordering, this should just be ordered by the Rank global field, so you can add that to your "order by" clause. If you want to run a query from a script you can do that, there are plenty of examples in…
-
Yes, jira will only let you use valid options for a select list. It's possible to use a plain text field but style it as a select list so it behaves like fixversions or something, but unless you're pretty good with javascript it might not be worth doing.
-
> in this aspect, i am not sure how crucible instances will be able to share load to avoid performance issues. and how does licenses workthey can't.If you're worried about the host name being expose you can just use a reverse proxy, ie apache or nginx.
-
Crucible can't be clustered, so what purpose would an LB serve?
-
It's not as intuitive but you can just use your back button, providing you haven't let hysteresis creep in by navigating somewhere else inbetween your queries.
-
And sorry, I think I am confusing the issue. You can set the variable passesCondition and that will determine whether the transition is shown or not. But you can also just return true/false... I think I did the passesCondition for backwards compatibility. I have never tried to use a condition that gets inputs from the…
-
I think you then want to create a new validator with the same code as the condition... not exactly the same code because you will need to throw an InvalidInputException instead of setting passesCondition. If you check stuff like the transientVars you can probably tell whether it's being called from a condition or a…
-
passesCondition is for conditions... it looks like you are writing a validator. Can you post the list of conditions, or validators, or whatever it is, whichever one contains the script function that you are writing? For validators throw new InvalidInputException... that lets you specify which field has error and the error…
-
Additionally, I would remove the assignee from the create screen, to avoid confusing users.
-
no problem, nice one.
-
and then filter in or out the story-test or whatever subtask it is you don't want.