#automator — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #automator, aggregated by home.social.
-
Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.
-
Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.
-
Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.
-
Ah, it seems my Google-foo is strong. I think I found a modified #Automator #ShellScript to not add the line feed.
-
Any #Automator #ShellScript experts care to help?
I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?
-
Any #Automator #ShellScript experts care to help?
I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?
-
Any #Automator #ShellScript experts care to help?
I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?
-
Any #Automator #ShellScript experts care to help?
I created the following script to copy the first 6 characters of a selected filename to the clipboard. But the clipboard item ends up with a hard return after the characters. Is there a way to put a stop to that?
-
For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.
-
For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.
-
For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.
-
For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.
-
For the second time in my life I thought of something macOS Automator might be able to do for me, and for the second time in my life that’s been an hour wasted and, no, Automator can’t do anything for me.
-
I'm trying to reuse an old iPad 2 as a photo frame and I just found out it doesn't even know about any photos before 1970. What's significant about that year? 1970-01-01 is the unix epoch. I'd laugh if this wasn't so pathetic.
I loaded over 6,000 photos on the iPad but it seems that half are blank squares. I used Automator's Pixelmator Pro scaler to downsize the photo's to the iPad native resolution. I should know better than to trust Apple software.
-
I'm trying to reuse an old iPad 2 as a photo frame and I just found out it doesn't even know about any photos before 1970. What's significant about that year? 1970-01-01 is the unix epoch. I'd laugh if this wasn't so pathetic.
I loaded over 6,000 photos on the iPad but it seems that half are blank squares. I used Automator's Pixelmator Pro scaler to downsize the photo's to the iPad native resolution. I should know better than to trust Apple software.
-
I'm trying to reuse an old iPad 2 as a photo frame and I just found out it doesn't even know about any photos before 1970. What's significant about that year? 1970-01-01 is the unix epoch. I'd laugh if this wasn't so pathetic.
I loaded over 6,000 photos on the iPad but it seems that half are blank squares. I used Automator's Pixelmator Pro scaler to downsize the photo's to the iPad native resolution. I should know better than to trust Apple software.
-
I'm trying to reuse an old iPad 2 as a photo frame and I just found out it doesn't even know about any photos before 1970. What's significant about that year? 1970-01-01 is the unix epoch. I'd laugh if this wasn't so pathetic.
I loaded over 6,000 photos on the iPad but it seems that half are blank squares. I used Automator's Pixelmator Pro scaler to downsize the photo's to the iPad native resolution. I should know better than to trust Apple software.
-
#Apple folks, what is the best way to monitor a folder under #macOS and invoke a shell script/command when new files are added?
I want to have a PDF-inbox, which gets OCRt whenever I add a new file. Currently my NAS does this via cronjob and I need a better solution.
#Automator ? #FSWatch ?
-
Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] https://www.instagram.com/p/DN6zFW2gbHA/
-
Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] https://www.instagram.com/p/DN6zFW2gbHA/
-
Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] https://www.instagram.com/p/DN6zFW2gbHA/
-
Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] https://www.instagram.com/p/DN6zFW2gbHA/
-
Vamos combinar que o robozinho perdeu o seu charme no ícone do #Automator criado para o #macOSTahoe26, não é mesmo? 🤖 [via @BasicAppleGuy] https://www.instagram.com/p/DN6zFW2gbHA/
-
I just put together a little Python script / Automator action for converting JSON color palettes to GPL. I set it up so I could export JSON palettes from Sip right into my Aseprite palettes folder and have them converted automatically, but you can also run the converter script as-is. https://github.com/JRiggles/JSON2GPL
-
TIL and PSA at the same time:
Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.
As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:
```bash
echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
```In fact, I could write a small function like this:
```bash
function jama_search {
automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
}
```And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.
-
TIL and PSA at the same time:
Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.
As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:
```bash
echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
```In fact, I could write a small function like this:
```bash
function jama_search {
automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
}
```And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.
-
TIL and PSA at the same time:
Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.
As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:
```bash
echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
```In fact, I could write a small function like this:
```bash
function jama_search {
automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
}
```And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.
-
TIL and PSA at the same time:
Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.
As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:
```bash
echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
```In fact, I could write a small function like this:
```bash
function jama_search {
automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
}
```And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.
-
TIL and PSA at the same time:
Today I learned that there is an `automator` command line too in macOS to manage workflows. More details on usage can be found with `man automator`.
As I have a couple for workflows that can create things in Jira, Jama, or Confluence, I can actually now use them from the command line like this:
```bash
echo "text to search " | automator -i - ~/Library/Services/search-in-alma-reqs.workflow
```In fact, I could write a small function like this:
```bash
function jama_search {
automator -i "$*" ~/Library/Services/search-in-alma-reqs.workflow
}
```And then to something like `jama_search Sys-Req-100` to find all occurences of Sys-Req-100 in the project from the command line — including opening the righ URL in the default browser.
-
Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
#mac #macos #followerpower -
Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
#mac #macos #followerpower -
Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
#mac #macos #followerpower -
Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
#mac #macos #followerpower -
Vielleicht kann wer mir helfen. Ich habe auf meinem #Macbook ein #Automator "Skript" erstellt, welches die durch mein Banking-Programm automatisch heruntergeladenen Kontoauszüge in mein DropIn Verzeichnis für mein PaperlessNGX verschieben soll.
Allerdings wird es nicht automatisiert ausgeführt. Habt Ihr ne Idee, wie ich dieses Verschieben automatisieren kann, so dass ich nicht dran denken muss? Der @marco79cgn vielleicht?
#mac #macos #followerpower -
Где звук? Автоматизируем аудиовыход на Mac одним нажатием
Как я настроил переключение звука на macOS нажатием одной кнопки, ничего не зная об AppleScript и Automator.
https://habr.com/ru/articles/854192/
#macos #звук #автоматизация #макропад #aplle_script #automator
-
Где звук? Автоматизируем аудиовыход на Mac одним нажатием
Как я настроил переключение звука на macOS нажатием одной кнопки, ничего не зная об AppleScript и Automator.
https://habr.com/ru/articles/854192/
#macos #звук #автоматизация #макропад #aplle_script #automator
-
Где звук? Автоматизируем аудиовыход на Mac одним нажатием
Как я настроил переключение звука на macOS нажатием одной кнопки, ничего не зная об AppleScript и Automator.
https://habr.com/ru/articles/854192/
#macos #звук #автоматизация #макропад #aplle_script #automator
-
Где звук? Автоматизируем аудиовыход на Mac одним нажатием
Как я настроил переключение звука на macOS нажатием одной кнопки, ничего не зная об AppleScript и Automator.
https://habr.com/ru/articles/854192/
#macos #звук #автоматизация #макропад #aplle_script #automator
-
En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.
Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.
Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.
Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.
Si tenemos un proyecto concreto en el que buscar con identificador de proyecto
project_id, podemos utilizarhttps://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_idpara restringir la búsqueda a ese proyecto.Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:
- Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
- Añadir una acción Run shell script, escogiendo
/usr/local/bin/python3como el shell, y copiando el contenido delgistde GitHubjama_search.py(reproducido tras esta lista). - Cambiar el valor de
jama_search_base_urlpara que apunte a nuestra instalación de Jama. - (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único
echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.
https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8
A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.
#Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow
-
En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.
Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.
Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.
Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.
Si tenemos un proyecto concreto en el que buscar con identificador de proyecto
project_id, podemos utilizarhttps://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_idpara restringir la búsqueda a ese proyecto.Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:
- Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
- Añadir una acción Run shell script, escogiendo
/usr/local/bin/python3como el shell, y copiando el contenido delgistde GitHubjama_search.py(reproducido tras esta lista). - Cambiar el valor de
jama_search_base_urlpara que apunte a nuestra instalación de Jama. - (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único
echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.
https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8
A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.
#Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow
-
En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.
Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.
Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.
Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.
Si tenemos un proyecto concreto en el que buscar con identificador de proyecto
project_id, podemos utilizarhttps://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_idpara restringir la búsqueda a ese proyecto.Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:
- Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
- Añadir una acción Run shell script, escogiendo
/usr/local/bin/python3como el shell, y copiando el contenido delgistde GitHubjama_search.py(reproducido tras esta lista). - Cambiar el valor de
jama_search_base_urlpara que apunte a nuestra instalación de Jama. - (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único
echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.
https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8
A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.
#Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow
-
En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.
Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.
Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.
Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.
Si tenemos un proyecto concreto en el que buscar con identificador de proyecto
project_id, podemos utilizarhttps://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_idpara restringir la búsqueda a ese proyecto.Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:
- Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
- Añadir una acción Run shell script, escogiendo
/usr/local/bin/python3como el shell, y copiando el contenido delgistde GitHubjama_search.py(reproducido tras esta lista). - Cambiar el valor de
jama_search_base_urlpara que apunte a nuestra instalación de Jama. - (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único
echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.
https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8
A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.
#Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow
-
En cualquier gran proyecto es de la máxima importancia mantener los requerimientos de los usuarios, requerimientos técnicos, y requerimientos de los distintos subsistemas, y cómo se derivan de (y relacionan con) otros.
Para ello, se utilizan herramientas de gestión de requerimientos (Requirements Management). Tanto en el Square Kilometre Array Observatory (SKAO) como en el Joint ALMA Observatory (JAO), o incluso el Cherenkov Telescope Array Observatory (CTAO) utilizamos un software como servicio llamado Jama Connect.
Una de las herramientas básicas en estos sistemas es la necesidad de poder encontrar información, y sus relaciones. Y afortunadamente Jama Connect es una aplicación web en las que hay enlaces permanentes para prácticamente todos los elementos — al final es una base de datos configurable por el usuario para la tarea de gestión de requerimientos —, así que hay un enlace que se puede utilizar para esa búsqueda.
Pantallazo del workflow “Search in ALMA Jama” con una entrada adicional que sirve para prueba (ver paso 4 más abajo)Si tu instalación de Jama Connect vive en https://myconnect.jamacloud.com/, entonces tu URL de búsqueda es https://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=GLOBAL, con search_term representando una versión procesada del término de búsqueda en la que se reemplazan caracteres no imprimibles por códigos de tipo %20 para un espacio, por ejemplo.
Si tenemos un proyecto concreto en el que buscar con identificador de proyecto
project_id, podemos utilizarhttps://myconnect.jamacloud.com/perspective.req#/search?term=search_term&scope=PROJECT&project=project_idpara restringir la búsqueda a ese proyecto.Podemos crear entonces nuestro servicio de Automator con los siguientes pasos:
- Crear un nuevo workflow de Automator del tipo Quick Action. Indicar que queremos que procese texto de cualquier aplicación.
- Añadir una acción Run shell script, escogiendo
/usr/local/bin/python3como el shell, y copiando el contenido delgistde GitHubjama_search.py(reproducido tras esta lista). - Cambiar el valor de
jama_search_base_urlpara que apunte a nuestra instalación de Jama. - (Opcional) Podemos probar nuestro workflow añadiendo otra acción Run shell script, con el contenido único
echo "mi término de búsqueda", de forma que quede antes de la acción del paso uno. Pulsando el botón de ejecutar el workflow, se abrirá una pestaña en la que se buscará en Jama el término incluido. Recordemos que ese paso tiene que eliminarse para el uso normal del workflow.
https://gist.github.com/juandesant/81f2f3bd2b1b5e6752f62809262a3ab8
A partir de ese momento, nuestro menú Servicios incluirá una entrada que nos permitirá buscar una o más líneas de texto en nuestra instancia de Jama.
#Automator #gestiónDeRequerimientos #JamaConnect #Python #workflow