Using the following query, I can view all jiras under couple of statuses,
project = "Project Name" AND issuetype != Epic AND status IN ("Status 1", "Status 2")
Now I would like to add a label "Label 1" to all the Jiras that show up from the above query.
Any help will be much appreciated.
You can Bulk edit and add label to the issues filtered.
FYI, here is the reference document https://support.atlassian.com/jira-software-cloud/docs/edit-multiple-issues/
Look for To edit multiple issues from the issue navigator section in the above document for more details.
Let me know if this worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
labels can be set via bulk edit, but if that is not applicable you can use a automation workaround:
Create a rule, use the manual trigger.
Create branch over your query. Then "edit" the issues in the branch you get and select copy from trigger issue.
Save the rule.
Create a Test Issue and give it the label you want to use. Then trigger the rule to search your query and copy the label you set on the trigger-issue.
I haven't tested it but this might work.
Note: You have to manually adjust the query in the rule, if you want to use different ones.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You didn't say why you would want to do this. I'd suggest trying to just use JQL since that will pick up changes later on
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Zulfiqar Ali Shah Kazmi if any of these answers are useful to you please click the Accept Answer button
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.
If you want to make such operations regularly, you can make automation rule, that will run by schedule. It will look for issues using JQL query and add ther Action to set reuqired labels for found issues.
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.