Kayıtlar

Şubat, 2016 tarihine ait yayınlar gösteriliyor

[Java Install Ubuntu] How to install JDK on Ubuntu

Unix'e JDK kurma adam cok güzel anlatmış bunu türkçeleştireceğim suan deil :) http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux         http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux lütfen git     http://www.wikihow.com/Install-Oracle-Java-JDK-on-Ubuntu-Linux 1 Ubuntu Linux işletim sistemi mimarisinin 32-bit veya 64-bit olup olmadığını kontrol edin, bir terminal açın ve aşağıdaki komutu çalıştırın. Yaz / Kopyala / Yapıştır:  dosya / sbin / init Ubuntu Linux işletim sistemi mimarisinin bit sürümünü 32-bit veya 64-bit olup görüntüleyeceğini not edin. 2 Sisteminizde Java kurulu olup olmadığını kontrol edin.  Bunu yapmak için terminalden Java version komutu çalıştırmanız gerekir. Bir terminal açın ve aşağıdaki komutu girin:  Yaz / Kopyala / Yapıştır: java -version Sisteminizde OpenJDK kurulu ise, aşağıdaki gibi görünebilir: Java sürümü "1.7.0_15" OpenJDK Çalışma Zamanı Ortamı (IcedTea6 ...

[IntelliyJ] How to set Atlassian Sdk lib on IntelliyJ

IntelliyJ 'de Atlassian kutuphanelerini göstermek için open intelliyJ  project structre  ctrl+alt+shift+s Oncesinde IntelliyJ ve Atlassian Jira Software kurulur  sonrasın da   https://confluence.atlassian.com/adminjiraserver070/installing-jira-applications-on-linux-749382634.html#InstallingJIRAapplicationsonLinux-consolewizardUsingtheconsolewizard IntelliyJ acılır Groovy Script projesi olusturulur modules    dependencies   + add    + add  c:\ProgramFiles ...\Atlassian\JIRA\lib    + add  c:\ProgramFiles ...\Atlassian\JIRA\atlassian-jira\WEB-INF\lib groovy script te ctrl+Space yaptığımızda  Atlassian geliyor sa doğru tanımlamışızdır. groovy library tanımlamak için groovy indirilir ve path gosterilir http://groovy-lang.org/download.html

[Linux Komutları] Faydalı Linux Komutları - Useful Linux commands

bulunduğunuz dizindeki dosyaları klasorleri listelemek için  - how to list files and folders on directory ls istenilen dizine geçmek için  - How to exchance directory cd /dizinAdi root kullanıcıya değitrimek geçmek switch etmek için sudo su komutu kullanılır şifre ister sudo su başka bir kullanıcıya switch etmek için -- How to exchance user in linux? su - kullanıcıAdı su -userName tar komutu için bilgiler  -- please visit to this url for tar commands http://www.tecmint.com/18-tar-command-examples-in-linux/ How to change keyboard language in linux? Klavyenin dilini  değiştirebilmek için kullanılan komut sudo dpkg-reconfigure keyboard-configuration Klasor olusturma - how to create a folder  mkdir klasorIsmi Changing File Ownership chown user:group /path/to/file chown cjones:marketing list.html To change the ownership of a directory and all the files contained inside, use the recursive option with the...

[Groovy] How to create link any 2 different Issue Jira Groovy script

How to create link any 2 different Issue Jira Groovy script import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.IssueManager import com.atlassian.jira.issue.MutableIssue import com.atlassian.jira.issue.link.IssueLinkManager import com.atlassian.jira.user.ApplicationUser /** * Created by ozdemirCe on 22.02.2016. */ IssueManager issueManager = ComponentAccessor.getIssueManager(); MutableIssue myIssue = issueManager.getIssueObject( "IssueName-1" ); MutableIssue otherIssue = issueManager.getIssueObject( "IssueName-2" ); ApplicationUser applicationUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(); IssueLinkManager issueLinkManager = ComponentAccessor.getIssueLinkManager(); issueLinkManager.createIssueLink(myIssue.getId(), otherIssue .getId(),Long.parseLong( "10003" ), Long.valueOf( "1" ), applicationUser); Note: 10003 is a link type ID. you are chose any type or define custom l...

[Groovy] how to set custom Field Value Post fuction Jira Groovy Script

how to set custom Field Value Post fuction Jira Groovy Script import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue /** * Created by ozdemirCe on 22.02.2016. * set custom field value get other field */ log.error( "ece~~:: Start copy value script" ) MutableIssue myIssue = issue; def cfA = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "A" ); if (cfA == null ){ log.error( " custom field A is null" ); return ; } def aValue = cfA.getValue(myIssue); if (aValue != null ){ log.error( " custom field A value is not null" ); def cfB = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "B" ); myIssue.setCustomFieldValue(cfB,aValue); }

[Groovy] How to Check custom field validation in Jira groovy script

How to Check custom field validation in Jira groovy script import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue import com.opensymphony.workflow.InvalidInputException /** * Created by OzdemirCe on 19.02.2016. */ log.error( "ece:: Start Validation abc" ); MutableIssue myIssue = issue; def cfA = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "A" ); def cfB = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "B" ); def cfC = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "C" ); if (cfA == null || cfB == null || cfC == null || cfA.getValue(myIssue) == null || cfB.getValue(myIssue) == null || cfC.getValue(myIssue) == null ){ return invalidInputException = new InvalidInputException( "Validation failure a ile b nin toplami b olmalidir" ); } int aValue = ( int )cfA.getValue(myIssue); int bValue = ( int )cfB.getV...

[Groovy] How to check Comment is required ? workflow validation

How to check Comment is required ? Groovy Script is below.. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue import com.atlassian.jira.issue.comments.Comment import com.opensymphony.workflow.InvalidInputException /** * Created by OzdemirCe on 19.02.2016. */ MutableIssue myIssue = issue; def comments = ComponentAccessor.getCommentManager().getComments(myIssue); if (comments == null ^ comments.size() < 1 ){ invalidInputException = new InvalidInputException(); return ; }

[Groovy] how to validation custom field value Jira

how to validation custom field value Jira import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue import com.opensymphony.workflow.InvalidInputException /** * Created by Ozdemirce */ MutableIssue myIssue = issue; def customField = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName( "kontrolEt" ) if (customField == null ){ invalidInputException = new InvalidInputException(); return ; } def cfValue = myIssue.getCustomFieldValue( customField ); if (cfValue == null ^ cfValue == '' ){ invalidInputException = new InvalidInputException(); }

[Groovy] how to check Jira User in any group workflow validation

how to check Jira User in any group groovy sccript workflow validation import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.user.ApplicationUser import com.atlassian.jira.security.groups.GroupManager ApplicationUser appUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(); GroupManager groupManager = ComponentAccessor.getGroupManager(); Collection<String> groupNames = groupManager.getGroupNamesForUser(appUser.getDirectoryUser().getName()); passesCondition = false ; for ( String gName : groupNames ){ if ( gName == "DummyGroup" ){ passesCondition = true ; } }

[Groovy] How to check User in Any Role

How to check User in Any Role Jira da Kullanıcının verilen role bilgisinde olup olmadığını döner Groovy Script import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.MutableIssue import com.atlassian.jira.security.roles.ProjectRoleManager import com.atlassian.jira.user.ApplicationUser MutableIssue myIssue = issue; def project = myIssue.getProjectObject() ApplicationUser appUser = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(); ProjectRoleManager projectRoleManager = ComponentAccessor.getComponent(ProjectRoleManager.class); def projectRole = projectRoleManager.getProjectRole("Administrators"); passesCondition = projectRoleManager.isUserInProjectRole(appUser, projectRole, project)