Profile cover photo
Profile photo
Héctor Flores
52 followers
52 followers
About
Héctor Flores's posts

Post has attachment
JIRA Script - How to build a transition counter in a number field custom field
Create a Custom field with type Number field and in the transition add a Custom script post-function with a code like this: import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.CustomFieldManager import com.atlassian.jira.is...

Post has attachment
JIRA Script - How to build a transition counter in a text field custom field
Create a Custom field with type Text field and in the transition add a Custom script post-function with a code like this: import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.CustomFieldManager import com.atlassian.jira.issu...

Post has attachment
Confluence Macro: Creates an expand macro within a configurable panel
Macro Body Processing: Rendered Template: ## Developed by: hector.flores ## Date created: 12/08/2015 ## Panel macro that contains an Expand macro that contains a Change Log table. ## @noparams <ac:structured-macro ac:name="panel">         <ac:parameter ac:n...

Post has attachment
Useful Groovy/Javascript scripts
Replace characters mac = mac.replace('-',''); Convert to string def text = rdmNum.toString() TimeStamp def sdf = new java.text.SimpleDateFormat("ddMMyyHHmmss"); return sdf.format(new Date()); Random Number def rdm = new java.util.Random(); return (rdm.nextI...

Post has attachment
TestNG: How to customize your emailable report
Let's start! Copy ReporterListenerAdapter.java and rename as MyReporterListenerAdapter.java, put it on your java project (/listener folder for example) public class MyReporterListenerAdapter implements IReporter {

public void generateReport(List xml, List...
Wait while more posts are being loaded