Comments
-
In addition to what Alexey said. To be honest if it works on one but not the other, you have everything you need to solve it. Just binary chop until the instances are the same, then you will see what was causing it. Don't ignore workflowTransitionUtil.validate(), it returns an ErrorCollection. log.debug "Validation errors:…
-
Looks correct, does it work? Have you changed the URL back after we spent so long getting something that worked?
-
Yes, as Mizan says. The interpreter is decided by the extension, so it must end in .groovy. Just put in the full path to the script on disk.
-
That's the only place in the source I see the string promotedLinks.
-
What version of greenhopper?
-
any context?
-
I agree too. I was brazen enough to suggest in the survey that those people that help get actual $$$, as it's a real saving for Atlassian. Plus the more a company configures their jira as they need it with plugins and whatnot, the more they're locked in.
-
I think it's not obvious enough that you can vote up a comment. Take poor Mizan, who knocked himself out to help someone on another question... the most he's going to get is one upvote for the question, whereas the user should really be upvoting every comment. Also grateful users should have the chance to donate some rep…
-
You need to set up at least one group to have the global USE JIRA permission...
-
Yes you should be able to log in with your AD details... that's half the point of it! If your user ID exists in both the internal and AD directory then the ordering of the directories will determine which is the correct password to use.
-
try issue.originalEstimate
-
that was the full line, to get the issue estimate. It's not a custom field, so don't use the custom field manager.
-
issue.estimate
-
Not really... think roles, components, versions etc.
-
With jira at any rate you can write the file first, then you don't get prompted with the initial database stuff. Might be the same for confluence. Seeing as you have generously given me some points, could you now go the whole hog and mark my question as correct? ;-)
-
You're talking about confluence so substitue confluence-home for jira-home, also the file might be called something different, like confluence.cfg, but you will recognise it.
-
OK, I get you. For in the initial setup use a username/password. All this does is write a file <jira-home>/dbconfig.xml. You can then shut jira down and modify this file yourself, and restart it. If you make a mistake jira won't start then just shut it down and have another go. It goes without saying to take a backup.
-
Oh sure, I wasn't clear at all. I meant "on unix you might have to use something other than jTDS to do windows integrated auth", and perhaps only when the unix machine is not hooked up to the AD domain.
-
It depends on the database driver you use. I believe the bundled jTDS drivers do support windows integrated auth, but if not you could replace them with eg the DataDirect drivers if you have a licence for them, which definitely support that. Just googled and found…
-
As others have said, post the full stacktrace. I don't see why Date.minus() would throw an NPE, nor if .minus() was not available. Perhaps cf is null.
-
Can you look at the link I sent, you will see a link to the source.
-
Why reinvent the wheel - see https://studio.plugins.atlassian.com/wiki/display/TIME/JIRA+Timesheet+Plugin.
-
Further reading on exactly this here: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-PowerAssertions
-
This solution won't work in ondemand either. For security reasons they have prevented more or less what you are trying to achieve.
-
One is the null value, which is displayed as Unresolved. One is an actual resolution called Unresolved. Go to admin -> resolutions, and delete the "Unresolved" one. If I understood you right...
-
See https://scriptrunner.adaptavist.com/latest/jira/recipes/behaviours/setting-default-fields.html#_setting_defaults_for_selects_etc The example for multi-selects works for checkboxes, as it mentions.
-
Yep, from the context of an issue: issue.fixVersions*.releaseDate check that returned list for nulls or dates before date X.
-
You can base security levels on a user list custom field, although that's not immediately obvious from the security levels UI. So you could have a custom field representing users allowed to view the issue, and a listener that adds the new assignee on assignee change.
-
But from what version? And are you asking me to list all changes from version X to version 2.1.6?
-
> Do you have other changes in this plugin ? From what version?Can you explain your context a bit better - the issue you point to is quite a niche case.