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
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 one year ago
Votes Newest

Answers 5

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

Posted one year ago

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

Posted one year 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 one year ago

ah nevermind, I see get/set_tags now

Posted one year ago
5 Answers
one year ago
4 months ago
Similar posts