IDEA-139903 TaskManagement: Trello: Change 'number' placeholder in commit message

This commit is contained in:
Maxime
2015-05-02 23:57:39 +02:00
parent 8e50f81fe1
commit ea161b35d3
2 changed files with 13 additions and 2 deletions
@@ -120,4 +120,10 @@ public class TrelloTask extends Task {
public TaskRepository getRepository() {
return myRepository;
}
@NotNull
@Override
public String getNumber() {
return myCard.getIdShort();
}
}
@@ -36,9 +36,9 @@ import static com.intellij.tasks.trello.model.TrelloLabel.LabelColor;
@SuppressWarnings("UnusedDeclaration")
public class TrelloCard extends TrelloModel {
public static final String REQUIRED_FIELDS = "closed,desc,idMembers,idBoard,idList,labels,name,url,dateLastActivity";
public static final String REQUIRED_FIELDS = "closed,desc,idMembers,idBoard,idList,idShort,labels,name,url,dateLastActivity";
private String idBoard, idList;
private String idBoard, idList, idShort;
private List<String> idMembers;
private String name;
@SerializedName("desc")
@@ -77,6 +77,11 @@ public class TrelloCard extends TrelloModel {
return idList;
}
@NotNull
public String getIdShort() {
return idShort;
}
@NotNull
public List<String> getIdMembers() {
return idMembers;