Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, Is It Possible To Retrieve The Git Branch From The

Hi, is it possible to retrieve the git branch from the Task object? I'd like to use this to then update the tags for the Task with the git branch info.

  
  
Posted 3 years ago
Votes Newest

Answers 5


it's working, thanks! I'll go ahead and file a github issue

  
  
Posted 3 years ago

ah nevermind, I see get/set_tags now

  
  
Posted 3 years ago

great, thanks! is there a simple way to then update the Task tags after this?

  
  
Posted 3 years ago

Hi CourageousWhale20 ,
While this is not part of the Task interface (perhaps it should be - we'll appreciate a GitHub issue on the subject), you can access this value as follows:
` task = Task.init(...)

branch = task.data.script.branch `

  
  
Posted 3 years ago
872 Views
5 Answers
3 years ago
one year ago
Tags
Similar posts