Comments
-
This is not handled at the moment - https://productsupport.adaptavist.com/browse/SRJIRA-233 Some users have disabled the Configure Fields dropdown using javascript, but I don't have the details of how.
-
Gah, I've reproduced it. It happens when you have groups in your default project roles, and some other specific circumstances. I think this is a JIRA bug, as com.atlassian.jira.security.roles.ProjectRoleManager#getProjectIdsContainingRoleActorByNameAndType returns nulls, which it should not do according to its…
-
you will need to ask a system admin - in <jira_home>/log/atlassian-jira.log.
-
can you give me the full stack trace, ta
-
That's wierd, I can't reproduce any problem myself. For some reason: projectManager.getProjectObj(pid) is returning null for one project - I have no idea why. There must be other things wrong with the instance. Go to script console and run this script and let me know if there's any…
-
btw, subtasksOf, parentsOf, linkedIssuesOf do just what Nic was saying - take a list of issues and return something else.
-
If you have ScriptRunner installed you can do this to find the subtasks of the currently in-progress Stories: issuefunction in subtasksOf('sprint in openSprints() AND issuetype = Story and status = "In Progress"') If you want to show the stories as well you can create and save a new filter, let's call it InProgressStories…
-
Use Custom Listener, and you put the .groovy file under one of your script roots, eg <jira_home>/scripts, in the correct directory according to its package.
-
What version of jira and the plugin are you using?
-
You'll need to set a massive classpath, but you should not need to compile it. Just point the "custom listener" at the .groovy file, and it will handle compiling.
-
This should be "10.02" in issue.fixVersions*.name Because... fixVersions returns a collection of Version, and the name is got by the getName() method.
-
the square brackets indicate that it's a collection of some form, not a plain String.
-
Search answers etc for UserUtil. It's something like: import com.atlassian.jira.component.ComponentAccessor! ComponentAccessor.getUserUtil().getGroupNamesForUser(currentUser.name).contains("Group A")
-
Base url set correctly? Looking at your source it has a base url of http://www.docminer.com:80/jira - not sure if there is anything with the cross-domain policy that says :80 and no port are different? Try setting the proxyPort and proxyHost in the connector element in the server.xml. Also there are a bunch of broken links…
-
transientVars is available to you, so you can get that information using https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/get-workflow-vars.html Rather than writing in the template you can inject in some extra…
-
This is by design, there are other questions and a bug report on this.
-
You mean, like "eclipse" a group? My understanding is that it depends on the order of the directories. If the internal dir is below the AD dir, the AD group will be used. Is that not what you see?
-
Take a look at the jql functions in the script runner plugin. It lets you do things like: issueFunction in expression("resolution is empty", "remainingEstimate + today > duedate") The first part is a jql query, the second part is an expression that will filter these further... but have a look at the docs.
-
At some point since writing this question, almost three years ago, I wrote something to separate out the contexts: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-SplitCustomFieldContext
-
Hi Mizan, It's difficult to understand what that JPSSF plugin is for, as you can already have different contexts and so different values for a select custom field in different projects. Also I'm not sure how I can separate out what I already have, given there are a lot of issues with data in already. But thanks for the…
-
Good question... in subversion terms they're the same thing. In git, I don't know. The cog is there somewhere, in the directory navigator.
-
Fisheye never removes anything from its index... but there is a little cog icon which if you pulldown has an item: "Show Deleted Directories". Maybe it's checked in your case?
-
You can write that yourself using a scripted field from the script runner plugin, or AFAIK, the Structure plugin can roll up timetracking based on links. The latter I think is relatively easy but commercial.
-
Anything in the log file?
-
You can't run a class as a script, unless it extends Script and has a run() method. You have to run JQL functions as JQL functions. Once the class is in place re-scan JQL functions then test using the Issue Nav. https://jamieechlin.atlassian.net/wiki/display/GRV/Breaking+Changes+for+Custom+JQL+Functions+in+3.0…
-
"print" will print to catalina.out. > either through log4j, which I am unable to load in the python interpretor What have you tried? I don't see why that wouldn't work. To get the UI to display the return value you just need to "return" it, but that's not very flexible, you're better off with log4j.
-
It is doc'd though, if not well publicised: https://developer.atlassian.com/jiradev/jira-architecture/building-jira-add-ons/jira-entity-properties-overview . That page implies that is available from 6.2.
-
Well, but, at least you know which end has the problem now. Have you tried support?
-
Can you try using the rest api to verify that an issue has at least that property? https://developer.atlassian.com/jiradev/jira-architecture/building-jira-add-ons/jira-entity-properties-overview#JIRAEntityPropertiesOverview-Example2:Retrievingdata
-
Firstly, full credit to Jobin for spotting an opportunity and exploiting it. My client will most likely purchase it. However, I agree that many of the functions should be natively supported. And I'm also concerned that, as I've mentioned in the past with the confluence "prettification" plugins like Zen, Atlassian won't…