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 2 years ago
Votes Newest

Answers 5

ah nevermind, I see get/set_tags now

Posted 2 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 2 years ago

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

Posted 2 years ago

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

Posted 2 years ago
5 Answers
2 years ago
one year ago
Similar posts