Comments
-
As Boris said: cfValues["First Date"] == cfValues["Second Date"] worked fine for me. Although the object is a Date, the time portion is zeroed. (Ie a java.util.Date, which has a date and time). So if this doesn't work, can you do: assert cfValues["First Date"] == cfValues["Second Date"] in the Admin->Condition Tester and…
-
Are you wanting to these two dates for equality? Ie you want to confirm that they're the same down to the millisecond? If you want to check that they're the same day (with all the complexity that brings when you have multiple time zones) you have to compare the year and day of year from the Date object. As well as logging…
-
I'm not sure it's the easy way... it's the profitable way. More money in plugin devs' pockets means more and better plugins, which makes jira/confluence more attractive, and more of a lockin. You can't fault the business model. But you don't have to like it, or at least every aspect of it. Overall I think it's a good…
-
It's unhappy from the perspective of someone prepping a confluence upgrade, ie me, and finding many plugins that were no great shakes in the first place are now commercial. Happy, for Atlassian getting 25% of the revenue. Unforeseen, probably not I agree. I'm yet to be convinced that a previously OSS plugin gone…
-
I'd hazard a guess that the reason is because Atlassian have made it easy to embed licensing code, and will take on all the paperwork for a cut of the revenue. Particularly the latter, doing it yourself is enough to put anybody off. It is a cause for concern though... perhaps this was an unforeseen or unhappy consequence…
-
OK... but do people really look at the headers to see where the mail was routed? Anyway, if so, I would consider just picking the right mail server depending on if it's company A/B.
-
Hi Kostas... Just wondering why you want to use different mail servers per project? The code that gets the mail server is just: mailServerManager.getDefaultSMTPMailServer() - you could modify it to get a mail server by ID depending on workflow or project.
-
Can you try again, I changed the perms scheme recently.
-
Sumit, can you let me know your username in my jira.
-
That type of field is not supported. Please file an issue, if there is enough interest I may implement.
-
Have a look at com.atlassian.jira.issue.search.SearchRequest#setPermissions, then com.atlassian.jira.issue.search.SearchRequestManager#update
-
I'm not sure... ideally upgrade. If you can't can you try without JSS? Can you reproduce the problem in a copy of your production environment?
-
jira version? Did you remove your comment:"There is a error in the admin section Global Edit Validation & Postfunction scripts are disabled due to installation problem: incompatible Quick Edit plugin."
-
restart jira... that normally fixes it. What version of the plugin do you have?
-
Try disabling and enabling the plugin. This issue should be fixed in the most recent versions.
-
add:.format("MMM dd yyyy")or whatever
-
Note that you should use issue.getCreated(), not issue.created. Because it clashes with issue.isCreated(), which is taken in preference when you use the property access format.
-
In your screenshot you have set that as an initialiser. Remove the initialiser, add the field customfield_15832, whatever it's name is, and attach the script as a server-side script, in that behaviour.
-
This needs to be attached to the field that is driving whether the other one is required or not, in this case customfield_15832. You seem to have it attached as an initialiser, which only fires once.
-
It's a case of examining the information for each commit, and attempting to look up the email address provided in the commit with a StashUser, then verifying that user has write permission to the repository. Stash makes this relatively easy... if you example the author property of each commit, it will either be a Person…
-
No, I'm not saying that. There is nothing between .15 and .16... I doubt it's due to the change in jira. Could it be something in your env, a chrome plugin or something? Does it work in another browser? Can you get a web dev to use chrome tools (f12) to see if the css styles look odd?
-
I can't reproduce with 33.0.1750.149 m and 2.1.16, and jira 6.1.
-
I haven't checked 2.1 with chrome 33, I will do that tomorrow.
-
I think it was partially in readonly mode hence the question. I could create comments but not add new answers.
-
Hi - I answered your question. What is unclear?
-
Seems like there are multiple questions here, but in a behaviour you can get the current FieldScreen using getFieldScreen(), so eg: if (getFieldScreen().name == "Some Screen Name) { ... or you can get the action name with getActionName()
-
Does the url change when you do that? If the base url differs then your cookie will not be valid possibly.
-
Check the logs? Plugins that implement ProjectTabPanels will do this if they blow up, but you shd have a stack trace.
-
You could try increasing the <pool-size> parameter in <jirahome>/dbconfig.xml.
-
Yeah, the scripts directory under the home directory... in data center under the shared home.