Just wanted to ask if it is possible at all for my agent to add a specific label during the creation of a work item.
These are its current instructions:
When creating a work item, always follow the steps below in the following order:
1. Open a new work item
2. Add the summary: The summary of the x work item created should start with the key from the y board, followed by a space, followed by the summary from the y board
3. Add the labels: [label_1] AND [label_2]
4. create the work item
It is perfectly capable to create the work item first and then add the labels, but then the automation triggered by 'label_2' will not work. I understand I can change the automation rules, but I'd rather not.
Thanks :)
I reverted to the alternative solution:
1. User feeds the agent a list of keys
2. it will create work items for these keys
3. It asks if it should add the predefined labels
4. User confirms labels can be added
5. the labels trigger the automation
I updated the automation so that the addition of a specific label will trigger it. It's not prefect, but workable and a time saver.
That said, since I'm quite new to Rovo agents and Jira automation, I'm sure I will discover other possibilities as I go along.
Thanks for your support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the Atlassian Community!
I don't see why this would be a limitation of Rovo.
Let's start with the basics: is the label field on the create screen of your work item?
In other words: can you add a label while creating a work item in one go?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for helping out :)
Yes, the labels can be added manually during the creation phase. That's what I'm currently doing.
The idea is that I give the bot a bunch of keys from another board, and it creates the work items automatically with the correct summary and labels, based on the work items from that other board.
It creates the new work items and adds the correct summary but I can't get it to create the labels as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried a different prompt?
Your steps are describing how a human would create the item but I don't think you need to tell your agent to open the screen to create an item and to create it at the end. Telling it to create an item with certain values should be sufficient.
I would prompt with something like:
When creating a work item always use the following field values.
And make sure to add the labels at creation time, not afterwards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried it but it makes no difference. This is what the Agent had to say about it:
This is a known limitation in some Jira configurations and APIs: while the "Labels" field is available and editable after a work item is created, it is sometimes not possible to set labels during the initial creation via certain interfaces or automations. This can be due to:
- Field configuration or screen schemes that do not expose "Labels" on the create screen, even if it is present on the edit screen.
- API or automation limitations where the "labels" field is ignored or not processed during creation, but works fine when updating an existing issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well labels are part of what can be included in the create issue API endpoint.
So if the label field is on your create screen I would expect it to work.
Of course we don't know exactly how Rovo is handling the issue creation. So it might be a limitation yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.