Giter Club home page Giter Club logo

jira-plugins-groovy's People

Contributors

chuikoaleksandr avatar cromat avatar dependabot[bot] avatar forichok avatar free0n avatar mashintsev avatar nteplov avatar raschudesny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jira-plugins-groovy's Issues

Please add linkedIssuesOfRemote JQL search function

It will be nice if we have this capatibility in my groovy.
Similiar to Remote Issue Links in scriptrunner. Like already implemented linkedIssuesOf.
For minimal if we can search Against Title and URL it will be great!

Update on Oracle DB with MyGroovy script

Good morning,
I'm trying to create a script to be able to perform updates on the Oracle DB, but currently it doesn't work.
At the moment it works perfectly in reading.
The script for reading is as follows:

import groovy.sql.Sql
import java.sql.Driver

def driver = Class.forName('oracle.jdbc.OracleDriver').newInstance() as Driver
def props = new Properties()
props.setProperty("user", "USER") 
props.setProperty("password", "PWD")
def conn = driver.connect("jdbc:oracle:thin:@SERVER:PORT:ISTANCE", props) 
def sql = new Sql(conn)
def results = sql.rows("MY QUERY")
return results

In update I replaced sql.rows with sql.execute, but to no avail:

sql.execute "MY UPDATE QUERY"

can you help me?

CME in classLoader

CME might occur if script is executed right after other plugin is disabled.

Do the builtin JQL functions work?

I have seen the following code:

    @Nonnull
    @Override
    public List<QueryLiteral> getValues(@Nonnull QueryCreationContext queryCreationContext, @Nonnull FunctionOperand functionOperand, @Nonnull TerminalClause terminalClause) {
        return ImmutableList.of();
    }

so it does not work, am i right?

Does it have data center compatibility?

Currently in my work have the data center versión and we need this plugin. We would like verify if we can install en the data center version.

Best regard.

NPE in 1.20

Just upgraded my JIRA instance to 8.5.1 along with updating plugin from 1.19 to 1.20. Started seeing a NPE on every issue access in projects/workflows that were using the plugin. Also saw various 'can't display the issue at this time' when processing transitions.

Start of the NPE:

2019-12-07 16:11:23,203 http-nio-8080-exec-4 ERROR [c.a.j.web.servlet.InternalServerErrorServlet] {errorId=5b29c3ba-6313-42c1-b97a-77c1fd4541ab, interpretedMsg=, cause=java.lang.NullPointerException, stacktrace=java.lang.NullPointerException at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.doExtractValue(FieldValueExtractor.java:205) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.lambda$getCachedValue$1(FieldValueExtractor.java:140) [?:?] at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2379) [?:?] at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853) [?:1.8.0_222] at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2377) [?:?] at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2360) [?:?] at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108) [?:?] at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.getCachedValue(FieldValueExtractor.java:134) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.extractValueHolder(FieldValueExtractor.java:93) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.extractValueHolder(FieldValueExtractor.java:81) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.FieldValueExtractor.extractValue(FieldValueExtractor.java:65) [?:?] at ru.mail.jira.plugins.groovy.impl.cf.ScriptedCFType.getValueFromIssue(ScriptedCFType.java:50) [?:?] at com.atlassian.jira.issue.fields.ImmutableCustomField.getCustomFieldParamsFromIssue(ImmutableCustomField.java:1238) [classes/:?] at com.atlassian.jira.issue.fields.ImmutableCustomField.populateFromIssue(ImmutableCustomField.java:595) [classes/:?] at com.atlassian.jira.issue.fields.rest.FieldHtmlFactoryImpl$FieldRenderItemWithTab.populateFromIssue(FieldHtmlFactoryImpl.java:403) [classes/:?] at com.atlassian.jira.issue.fields.rest.FieldHtmlFactoryImpl.getPopulatedRenderableItems(FieldHtmlFactoryImpl.java:234) [classes/:?] at com.atlassian.jira.issue.fields.rest.FieldHtmlFactoryImpl.getEditFields(FieldHtmlFactoryImpl.java:160) [classes/:?] at sun.reflect.GeneratedMethodAccessor1190.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_222]

Information about MyGroovy version compatible with Jira Data Center

Hi Team,

We are using MyGroovy v1.18.1 in our Jira v7.1.3 Data Center instance and now planning to upgrade it to the latest version Jira v8.5.0 but there it is showing MyGroovy v1.19.2 is available only for Jira Server 8.0.0 - 8.5.1(not for Data Center).
So, we want to know when you are planning to release the MyGroovy version compatible with Jira v8.5.0 Data Center.

Thanks
Prince

JIRA 8.0 support?

Just to get something filed here - any idea when you might have the updates made to deal with all the changes atlassian made in 8.0? In particular, for MyGroovy looks like the primary impact is due to the Lucene change and corresponding change in object names/classes related to searches/results.

Cannot update to 1.18.0-jira8

I'm trying to update groovy

image

but after installation i'm receiving incopatigle version

image

i tried also to download new groovy version

image

but i'm receiving this message

image

How can I solve?
This error prevent me to update to jira 8

Scripted field validation

Hi there is it possible to validate a scripted field and add a custom description. If so, can you provide an example. thx great plugin you have here.

How "JIRA" dependent is the plugin code?

I'm curious as to how much effort it would be to have an equivalent plugin for Confluence? Obviously scripts/etc. would all be different, but thinking it could be useful just to have the 'be able to run groovy scripts on demand' functionality.

broken links on script editor info button popup

Greetings. First I want to see how much I really love this project. It's great! I have Jira Server 8.5.4 and when I click the little purple "i" info button on the bottom right side of the workflow script editor window, the links to MutableIssue and ApplicationUser resolve to a 7.6.1 document that no longer exists. Cheers.

Throw WorkflowException in ScriptedCondition class

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.