Comments
-
You seem to have trailing spaces on the end of your field names in the email template - do they actually have those trailing spaces?For the example calculated field you gave, you could just replace it with:issue.getCustomFieldValue(componentManager.getCustomFieldManager().getCustomFieldObject("customfield_12345") ?: 0)…
-
Not sure if I misunderstood something, but the send custom email script in the script runner plugin *can* include the attachments. Either all attachments, or just those added during this event (or none).
-
There's a copy space plugin... you could copy it, then delete the original. It won;t do redirects though.
-
And look at webhooks too.
-
That's a fair point but honestly the answer to a lot of these is not yes or no, rather "yes but no but it should do it but can't because of a bug but there is a plugin but it doesn't really work or it doesn't work for the latest 6 versions". From the gist of your questions it sounds like Sharepoint might be more suitable.
-
Hrm, it's not that hard, eg point 1 google for "confluence outlook integration". But if they want to pay for a partner to do the googling then fair enough.
-
Many of these bullets are subjective, and nearly all this information is available through googling.
-
You're setting the name of the priority object, rather than the issue priority. Restart jira, then use issue.priorityId = '4'
-
Unfortunately not currently for the first point: https://productsupport.adaptavist.com/browse/SRPLAT-96 For the second point @Rafael Franco [Adaptavist] can you help please? I'm not sure what a metadata field is in this context.
-
Hi Fabio, I don't know, there is a lot of debate about this. I don't understand the rules it uses to go into compatibility mode. Maybe you can change whatever makes it choose compat mode, eg the hostname, or look at setting a meta header. Again, check jira.atlassian.com and google, I don't know much about this. cheers,…
-
Fabio, There is quite a lot of info on compatibility mode here: https://studio.plugins.atlassian.com/wiki/display/JBHV/JIRA+Behaviours+Plugin?focusedCommentId=65668197#comment-65668197 and a bug or two in the project. Not trying to be unhelpful, but from my side, I don't intend to try to get it working with IE in…
-
looks like one or both is null, check my updated answer
-
I don't see how you can have got an error... paste the full minimal code and include the error.
-
you're casting them to strings... try using def HPV = HP.getValue() etc if that doesn't work try casting to longs: def HPV = HP.getValue() as Long If they could be null try this: def HPV = HP.getFormValue() ?: 0def SHPV = SHP.getFormValue() ?: 0def PVSUM = HPV + SHPV
-
I had the same problem when upgrading from 3.4.9 to 4.2.2, on oracle. I worked around this by just creating an empty contentlock table. I don't know the purpose of this table but the upgrade proceeded OK after doing that.
-
Did you solve this? There's no reason it shouldn't work afaik.
-
this is simlpe scripted validator? Add a new line at the end:true
-
I didnt' test it and made a typo, I've changed it now
-
something like this: import java.util.concurrent.TimeUnitdef twoDaysFromNow = new Date(new Date().time + TimeUnit.DAYS.toMillis(2))if (issue.dueDate && issue.dueDate.before(twoDaysFromNow)) { return cfValues["Reason"] as boolean}
-
They should only exist in one place... if not reorder the LDAP directory so it's above the internal directory. Also look at the directory config summary and closely compare the values with your old osuser.xml file.
-
That code throws the same error when run through the script console, so although service desk seems to often cause problems, I don't see it's the cause this time. What version of JIRA is it?
-
;-) Su exit - logout then log back in again!
-
Yes, useful, same function exists in script runner too ;-)
-
You can get the snapshot from https://jamieechlin.atlassian.net/wiki/download/attachments/1212418/groovyrunner-3.0.7-SNAPSHOT.jar?api=v2 . The main difference IIRC is that it should report accurately why it failed to transition, perhaps due to a condition failure.
-
No not really. Why do you think this is the root of the problem, have you tested it without the screens and it works? Do you want a snapshot version that contains some improvements in logging when a failure occurs to test, assuming you can replicate this on a staging server?
-
I see this when an issue is fast-tracked twice within the same transition, eg Start Progress automatically resolves, then Resolve automatically closes.I've done some work on this which fixes the inconsistency, but I cannot avoid that if there are two fast-tracks the user will need to refresh.
-
The graphviz plugin generally works on 4+, you should give it a go. Bob says there are a few issues to fix before he marks it compatible, but generally it works.
-
The html is not relevant here (except to understand your options) ... the validation happens server-side. The correct statement is the second one, presuming Production is the value of the option. From your earlier comments I assumed 15300 was the display value. If you want to look it up by ID then something like:…
-
It should be cfValues['Production'] Give the cf name, not the ID. > You assume that every entry in collection cfValues['customfield_14523'] has property 'value' I think this is a reasonable assumption if you know it's a multiselect, but yeah, it's good to print out the class type.
-
Have a look at JIRA CLI and the cloneProject subcommand.