Comments
-
True, good point. But personally I think that link should be provided by the same plugin. Anyway, it's no biggie.
-
I greatly admire the technology and the development effort that went into it, but it's true that it's not for everyone, I prefer the old web UI too. If you wanted to disable it you can go to plugins -> show system plugins, and disable the "workflow designer plugin". However, it does have one good feature which I regularly…
-
No, that won't help. I will take a look at it at the weekend. I will probably need the behaviour in question as xml - think you can click advanced or edit or something from the behaviours list.
-
Without logs it's difficult... maybe you could me a backup of your db. Not sure how else to proceed.
-
You can use the set issue security built-in script to do this... If you want to do it from a listener the code is just: issue.setSecurityLevelId(secLevel.id)
-
Yeah it's this one: https://jira.atlassian.com/browse/JRA-41869. The JQL functions will be split out at some point, mostly for other reasons. But I don't think that will sway Atlassian, AFAIK there is a blanket ban on any new P2 plugins in Cloud. And a cloud version is not really feasible with the current state of P3.
-
I don't think Vasiliy's example will work on issue create, because there is no issue yet. The way to do this which will work in all cases is: issueContext.projectObject.name for the name, else you can get the key, or the project object itself.
-
Thanks for the points ;-) But I'm interested in ideas around this too, hopefully other people will chip in.
-
Agreed... imho jira here is too early for production, but I think it has potential. I'd also like to see the ability to deploy some of the atlassian university walkthrough stuff to our own instance. Not what you asked for but it's the same goal. For your use case you could write a plugin... as the date the user is created…
-
I like the idea, although often I want to drown the user in the trough, rather than get him to sip from it. I imagine you'd have to write your own thing for this, although it occurs to me this would be a useful addition to the "jira hero" plugin. You wouldn't want to get an email on jql before you created your first…
-
There are a bunch of plugins that do this, for example https://plugins.atlassian.com/plugin/details/373950
-
It's not copied anywhere, but you should be able to run it from script console using the relative path from the jar root. On the "files" tab, you should see eg plugin://My Awesome Plugin as well as the usual roots.
-
Did you read https://scriptrunner.adaptavist.com/latest/jira/creating-a-script-plugin.html ? Warning though: that documentation needs some work, I don't know if it will work as written. But that's where you should be looking. The other alternative is to make sure your "scripts" directory is a git repo, then you can just…
-
> commentManager.create(restuser, issue, transientVars.context.caller, "Email has been sent to " + email, false); This is wrong. If restuser is not a variable it should be quoted. You need to pick one of the "create" methods from here:…
-
It's not dangerous, it's an everyday occurrence. The main danger is if you have munged your workflow for example deleting all the outbound actions from Open. If that's the case you just fix it and publish a new one. The lawyer probably insisted they put that text up.
-
What you somehow need is to enforce is that users that are not from within your company only authenticate against jira's internal directory, not your AD directory. Perhaps this can be done with a custom authenticator where you have the HttpRequest object so you can check the source IP. You said that your customers don't…
-
Personally I don't think this is work avoidance and is actually a serious and real problem, particularly if you are exposing jira to the outside world, and use AD as a directory for internal users. It's not too hard to get a list of possible user names that have the AD account, eg the source of the contact admins page has…
-
How is the script running... service, post-function, console etc?
-
I think it should be like this: <% if (issue.getCustomFieldValue( customField_language ).toString() == "Arabic") %> '<div dir="rtl">$m_t_u<% else %> ....
-
Interesting... do you think this this an HTML problem or an issue with i18n in jira? How does it look when you view RTL languages in the browser, is it correct? If it's an HTML issue have you tried using the dir attrib as per http://www.i18nguy.com/markup/right-to-left.html?
-
I've worked with several around that figure. The worst thing about it is some of the admin screens, eg viewing the workflow schemes page, and other schemes page. The project dropdown in the planning board is horrible too... other than that last one I don't think the effects on the user visible parts of it are particularly…
-
I would use a simple scripted validator from Script Runner with a regular expression: cfValues["Case"] ==~ "http://mwz/[\d+]" (untested)
-
Did you try it? It's mostly superceded by what's in jira. It's not free anymore by the way, for the last release I requested a small amount be paid to a paediatric intensive care unit charity, to my knowledge no one has actually paid that.
-
There is https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_nextsprint.Maybe other ways too.
-
I don't think that's possible without plugins at the moment. If you can install plugins, then for example with Script Runner (other fine plugins offering similar are available), the query would be: issueFunction in linkedIssuesOf("sprint in openSprints()", "has epic") To break that down: "sprint in openSprints()" is the…
-
I agree that it's poorly documented, and in fact it's multiply documented where most of the docs are just plain wrong. This whole area seems to be in major transition for the last year, and it's not finished yet AFAIK.
-
That's weird, I know the UI for it was there just a day or two ago, because I used it. But I don't see it either now.On an empirical basis I would say the frequency of occurrence is slightly worse. The UI for converting questions to comments is no better or worse than the OSQA system. I think in the case when there is a…
-
I would fix more of these if I could just drag and drop the new answer onto another answer to mark it as a comment, or to the bottom of the existing thread if that's where it belonged. Then maybe if the author of that answer got a mail saying "your answer was turned into a comment", they might be suitably chastised and not…
-
I don't think you can do this without a custom JQL function. Normally I would be suggesting writing your own with ScriptRunner, but there is a small bug that prevents using relational operators with custom functions. I've fixed it, but won't be released for a couple of weeks. If you want to write your own…
-
Assuming this is a question... if you go to confluence admin -> custom html -> at the end of head, and paste in the following, it should do what you want: <script type="text/javascript"> AJS.$(function () { var minorEdit = AJS.$("#minorEdit"); if (minorEdit.length) { minorEdit.parent().toggle();…