Comments
-
OK, use: Math.round(rt.sum() / 60000).toString()
-
You did "new string", not "new String". See the error message.
-
I'm not quite sure that's the case. You can use a custom template, and in that you can tell whether it's being rendered for excel or not, and do the conversion to pretty as necessary. Don't have a fully worked example though/
-
if you install Script Runner, you can put a "simple scripted validator" on the Resolve transition, the condition would be this: issue.fixVersions.findAll {it.released}.size() == 1 (untested) is that all that needs to be added? If you're using a Simple Scripted Validator, pretty much. It should look like this:…
-
This is most of what you want: https://answers.atlassian.com/questions/138844/script-to-check-the-release-date-of-versions
-
can you create an issue in the https://studio.plugins.atlassian.com/browse/GRV project and attach the atlassian-jira.log file. Once we know the problem you can update this question. From the amount of info you've given though there's no way of telling what if anything is the issue here.
-
Scripted field will work fine providing you set an indexer. Better to use a jql function though.
-
End of life is a relatively good thing ;-) , it means that it's stable and I'm not going to break anything with a new release. I've already published a jira 5 version too. But up to you, fully understand. The best outcome would be for the built-in version to do this, if required.
-
Hi Manuel, This diagram is provided by a plugin: https://studio.plugins.atlassian.com/wiki/display/JVIZ/JIRA+Workflow+Visualization+Plugin As I mention on the page it is end of life as Atlassian now have most of the functionality. You could either continue using it in 4.4, or, better, put in a feature request for this to…
-
Nor were my users, particularly with the speed of the task and planning boards in IE8. IMHO they should have waited until rapid board was ready for prime time before removing this.
-
There is a built-in script Change dashboard or filter ownership in the script runner plugin, although I think I noticed this was possible in 5.0. Not sure though.
-
Probably a better link: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Sendacustomemail
-
Are you sure that this information is not in active directory? Or could it be that you just don't have permission to view certain attributes... Exchange needs a certain amount of information to work. If that information is not stored in AD where is it stored? Alternatively... I have had a certain amount of success running…
-
2.1.16 is not compatible with 7.1.2. You need to address that. You can see the compatibility at https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/versions.
-
That's what I thought at first, but surely the value should be a collection of OfBizUsers, not one.
-
Which bit is not working? It should be: $issue.getCustomField("customfield_10131").name which will prevent an error if the field has no value set. And are you sure this is a multi not a single user picker? This code should not work for a multi user picker. You need to iterate over the users calling .name on each one. I…
-
You;d need to look at the source code to know that, which you can of course if you have a licence. But typically Atlassian support will tell you what log levels to use if you have a problem. Unless you've got an unhealthy interest in jira it's probably best to just leave the defaults.
-
So can we reduce it to the following: if you set the assignee through a behaviour, jira then says there is no assignee when you try to submit?
-
I can;t really debug all that code. So basically you need to just default the assignee to the project lead if there is no component set?
-
Good stuff. underlyingIssue.components.first().lead can throw an NPE if there are no components... I would do some checking with that, unless you're sure the components can't be empty.
-
To get values of the issue as it is currently in the database, disregarding user input in the form, call methods on the underlyingIssue Issue object, which is available as a variable in your scripts. So underlyingIssue.assignee should be the assignee as it was before the user started editing.
-
The answer to that is in the code you posted: https://docs.atlassian.com/jira/REST/latest/#d2e4353
-
Think you would need to add a POST bitbucket webhook: https://confluence.atlassian.com/display/BITBUCKET/Write+brokers+%28hooks%29+for+Bitbucket As this is not the format crucible needs, you would need to write a simple web service to take the above data and use crucible's rest api to create a review. Also you'd need to…
-
What type of field is 16700 ?
-
is there a searcher for the script field?
-
I don't see a real problem in the script... I think there is another issue though. Why does the search without the field take so long to render? 10s is far too much. Can you look for the diagnostic info in the html at the bottom of the page...
-
You need to make sure you have set a searcher for the field, otherwise it will be recalculated for every issue (in order to show the value)...
-
All I can suggest is using a proper profiler like JProfiler or yourkit, and turning on the CPU monitoring when you run the query. I can't reproduce any problem at all here. I have seen big performance problems with some of jira's templates, particularly the one that renders a user profile (with avatar and full name etc),…
-
I can't reproduce any problem here at all. I tried your script, around 100 issues, displaying the script field value in the issue navigator, and it takes around 500ms total. There must be some other problem. What is the template for this field? > JIRA evaluates the custom field for each issue in the navigator - is there…
-
I don't think Atlassian would restrict security patches based on being in contract or not. The last thing they want is stories about their software being hacked, like the ASF one. As Harry said the security patches are just patches, providing the version you use is still in the support window you should be able to install…