Comments
-
Use assignee instead of reporter...?
-
Geert is right here... issueInputParameters was introduced to script runner when it became available in jira. Maybe you have an old version of jira. Please supply versions of both jira and SR. The info to provide is here: https://jamieechlin.atlassian.net/wiki/display/GRV/Getting%20Help#GettingHelp-Supportrequests
-
If you have ScriptRunner you could use hasLinks() JQL function: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_haslinks
-
There's no way of changing the default workflow, such that you don't have to remember to change the workflow scheme after creating a project. The default workflow is defined in atlassian-jira/WEB-INF/classes/jira-workflow.xml, but I'm not sure what all you need to do after changing it in the file.
-
no problem ;-)
-
If you're doing what I think you're doing, which is checking if there are any links to an issue of type Release, your last line should be: issueLinkManager.getOutwardLinks(issue.id).any{it.destinationObject.issueTypeObject.name == "Release"}
-
To look for a specific link "blocks" your condition would be this: import com.atlassian.jira.component.ComponentAccessordef issueLinkManager = ComponentAccessor.getIssueLinkManager()issueLinkManager.getOutwardLinks(issue.id).any{it.issueLinkType.name == "Blockers"} That looks for this issue blocking another. To look for…
-
A full condition (for the simple scripted condition) that checks whether has at least one ingoing or outgoing link would be: import com.atlassian.jira.component.ComponentAccessordef issueLinkManager = ComponentAccessor.getIssueLinkManager()issueLinkManager.getLinkCollectionOverrideSecurity(issue).linkTypes
-
Probably won't work if the user already exists in multiple directories. I would hang on until jira 6, I will remove this script in an upcoming release.
-
Yes, bingo... subtle difference between issue.getCustomFieldValue(customfield) and customField.getValue(issue)
-
So it's saying there is a server error - can you check the logs when you hit that page: <jira-home>/log/atlassian-jira.log ?cheers, jamie
-
Can you click F12 and check for javascript errors in the browser console... certain issues like that could cause this. Also check for server logs.If you are on jira 6.3 you may as well use the latest version... 3.1.4 (I think) if you don't want to pay, 4.0.1 otherwise.
-
print/log the where clause or query, and let us know what it says.
-
> which version shd i choose whichever version your jira instance has.
-
Create the jira plugin then add the fisheye plugin as a dependency: <dependency> <groupId>com.atlassian.jira.plugins</groupId> <artifactId>jira-fisheye-plugin</artifactId> <version>3.4.6</version> <scope>provided</scope> </dependency> then in your atlassian-plugin.xml request the service: <component-import…
-
I'm still in the dark... a script field that runs a JQL function may be?
-
well, check the log first... is there nothing else?
-
So the indexing for those issues is broken, but why? There should be more to that stack traced, eg some "caused by" exceptions...? Try disabling any script fields you might have and reindex those issues.
-
No we have no behaviours support for JSD at the moment - https://productsupport.adaptavist.com/browse/SRJIRA-728
-
I would use: issue.setCustomField ( cfTestGroupPicker ) This should work providing this function comes before the one that is "saves the issue and reindexes", or similar.
-
thanks Matheus... now I can actually read it.
-
Please use the {code} macro to format this properly. What position is the post-function?
-
You want something like this but it's a bit inelegant, also you'd want to show an ellipsis if you are truncating it. Given a string s: s.readLines()[0 .. (s.readLines().size() < 5 ? s.readLines().size() - 1 : 4)].join("\n") There is probably something better in a textutils class. Mehmet's answer is for velocity templates,…
-
Are you allowed to edit the announcement banner in ondemand? If so you could use a method similar to here: https://answers.atlassian.com/questions/35476/force-accept-company-policies In that example I only show the banner if a cookie is not present or expired, but you could use any other condition, providing you can work…
-
Same thing available here: https://studio.plugins.atlassian.com/wiki/display/GRV/Scripted+Fields
-
http://www.linuxatemyram.com/ In short - this is normal. The memory is used for caching files like the lucene indexes, classes etc. It's not shown as free but it is "available".
-
I know you already have a solution, but... *event* will be in the bind variables for listeners only, not post-functions. There is code for retrieving attachments that works for both post-functions and listeners here:…
-
Please try not to cross-post. We need to respond on all channels otherwise it looks like we don't care, which takes us a lot of additional time, and dilutes the value for other people using it. To repeat: import com.atlassian.jira.component.ComponentAccessordef customFieldManager =…
-
Can you try disabling and enabling the add-on? I don't really understand why that has happened.
-
What's wrong with the old solution?