Wir haben eine Automation die (auf manuellen Aufruf) einen neuen Vorgang anlegt. Diesen Vorgang wollen wir automatisch in den Status 'To DO' setzen bzw. direkt in diesem Status erzeugen. Allerdings kann man das Feld in der Komponente nicht auswählen und wenn wir es über das Jason in den erweiterten Optionen probieren kommt ein Fehler, dass das Feld nicht gefunden werden kann.
Mein Ansatz war folgender:
{
"fields": {
"status": "TO DO"
}
}
Wo liegt da das Problem? Jemand eine Idee?
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
The REST API and Jira UX do support creating a work item in a specific initial status. However automation rules do not appear to support that (in their use of the REST API endpoint). The workaround is to create the work item and then branch to it for the transition. Another option is calling the endpoint directly with the Send Web Request action.
Seeing the specifics of your rule will help identify which is a better approach.
Kind regards,
Bill
Idealerweise sollte im Workflow einfach "To Do" der erste Schritt gleich nach "Create" sein. Dann sind alle neuen Vorgänge automatisch in diesem Schritt "To Do".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Das verstehe ich nicht. Ich kann den Status ja nicht per Automation setzen. Manueller Eingriff ist hier keine Option. Wo soll ich das denn tun?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Auch eine Automation kann den Status ändern, auch wenn der Workflow selbst nicht geändert werden darf.
1. Aktion "Vorgang erstellen" in die Automatisierungsregel einfügen.
2. Eine Branch "für alle erstellten Vorgänge" anfügen - sie wird nur für den soeben angelegten Vorgang gelten.
3. In der Branch "Vorgang bearbeiten" wählen, darin das Feld Status wählen und den gewünschten Wert zuweisen.
Achtung: Der Übergang muss im Workflow existieren, also ein definierte "Übergang" sein. Wenn "To Do" nicht der erste, sondern z.B. der dritte Status im Workflow ist, dann muss man durch entsprechend viele Aktionen den Vorgang durch die verschiedenen Status "schieben" bis er im Wunschstatus angekommen ist. Es sei denn, dass es vom Beginn eines Workflows einen direkten Übergang nach "To Do" gibt oder wenn alle Status so definiert sind, dass sie von allen anderen Status direkt erreicht werden können.
Das alles setzt natürlich eine relativ neue Version von Jira voraus. Altversionen sind da vielleicht eingeschränkt.
Ebenfalls wichtig: Das Projekt muss die Rolle "atlassian-addons-project-access" integrieren und dieser Rolle Vorgangsbearbeitungsberechtigungen zuweisen. Sonst kann die Automatik keine Vorgänge ändern weil ihr das Zugriffsrecht fehlt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.