Hey fellow Jira heroes (or maybe Jiroes? 😁),
we are using a Jira project as a project template with many "standard" tickets that we need in all projects. We use the app "Deep Clone" to clone the epics and issues into new projects and that works quite well. Now I introduced a few "placeholder" jira users in our project template (developer, reviewer) to quickly assign the cloned issues in one go once we have decided on the person that will take that role in the project. I can use JQL and bulk edit to replace the assignee, reporter or reviewer (custom user field), but I did not find a solution that allows me to replace my "placeholder" user with a real user that will fill that role. Example: The "reviewer placeholder" is assignee, reporter or reviewer in some of the tickets, so I would need to run a few bulk edits. Not the end of the world, but maybe there is a better way.
A quick search did not find any apps or tools that would allow me to do such replacement. Do you know a way to achieve a direct replacement of users in a JQL query or project in all user fields? I could use it for our template issues or for example when a new intern takes over from another one.
Cheers and thanks for your help
Jonas
This seems like a really straightforward use-case for a Manually Triggered rule in Jira Automation. Something along these lines:
@Mykenna Cepek Yeah, I thought about that as well. It would work, but I would have to adjust the rule with different users every time for replacing the placeholder value. I thought about assigning the user I want to assign my placeholders as the project lead, run the manual rule and have the rule "pull" the project lead. Unfortunately, right now there is no way to use smart values to get the project lead, even though it should be working. 🙄
I could just use a regular issue that the automation rule takes as reference when running it. That would mean assigning my developer as the assignee and my reviewer as the reviewer in my proxy issue and have my manually triggered rules copy the values from that proxy issue... That sounds like the smoothest solution right now, I might give that a shot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I commented on the thread you linked above, Jonas. I noted that I was able to retrieve the Project Lead just fine in an automation rule in our Jira Cloud instance.
Perhaps the issue you experienced is fixed? I find it odd that it would work in some instances and not others. If it still doesn't work for you, maybe report it as a problem to Atlassian Support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rereading all you've posted here, Jonas, I still think you could accomplish this with one rule, manually invoked (once per template use), to replace all your placeholders users/roles with actual team members for the target project.
It would require you to customize the rule with the target team members before executing the rule. But it sounds like such a step needs to be part of your process anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mykenna Cepek I agree. I will try the route via a manually triggered rule.
My inner OCD-ridden automater does not like the idea of having to adjust the rule every time I want to use it, but I cannot think of a better solution just yet 😅. Maybe a better solution will come up once I set it up. I will post my final solution once I am done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey guys,
I created a manually triggered automation to do the replacing for me (thanks again @Mykenna Cepek for the suggestion) and it works quite well and without any adjusting of the rule when we want to use it.
How it works:
When triggered manually in an issue, my placeholder will be replaced with the assignee of the trigger issue. This way I only need to assign only one issue to whoever my developer/designer/reviewer is and the automation will put this person wherever my placeholder account is. I limit the action to the project of the trigger issue as I do not want to change it everywhere.
This way we only need to assign one issue, run the rule and have all the placeholders replaced. I hope this is helpful for someone. 😉
Thanks again to everyone who commented, I appreciate you taking time for it! 👌
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it requires bulk changes, you might try our app Excel 365 Connector and just do this in Excel: https://marketplace.atlassian.com/apps/1222961/excel-365-connector-for-jira?hosting=cloud&tab=overview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agreed with Lukasz, a JQL query for the placeholder user followed by a bulk change of those tickets to the actual user would be the trick here. All standard functionality :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Łukasz Modzelewski _Lumo_ Thanks for the suggestion, I might try that. I would prefer not to pay for another plugin JUST for that though. 😁
@Oliver Vistisen I am curious about the JQL query and bulk change that you would use for this. I can find all the issues with my "placeholder" mentioned, no problem. JQL to find all the issues:
project = "new project" AND (assignee = "placeholder" OR reporter = "placeholder" OR reviewer = "placeholder")
How would you use ONE bulk change to have all "placeholder" replaced? I know that I could use three individual bulk changes, but that gets tedious and I would prefer some other option, hence my question. 😉
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Keep in mind that most (all?) add-ons have a 30-day trial period. So if this a one-time thing, the suggested plugin might work well for your use-case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If "placeholder" is a field, it should show up in the bulk edit screen, if you want to change it that way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@caglad "placeholder" is not a field, but user profiles that I created. I could label all my template issues with "developer" or "reviewer" and assign them according to the labels. That would get complicated though, as the individual people should be assigned to different roles, meaning that my reviewer should be assignee in some issues and reviewer in others. For that to work I would need to have six different labels, one for each possible role per placeholder.
I guess I could have an automation rule use these labels to assign the user to the correct role to the correct ticket, but that workflow is quite complicated for people to use in my organization. Having our template project and just "see" the placeholders is more intuitive when adding new template tickets rather than having to add some label like "reviewer_assignee" or "developer_reporter" for the automation rule to work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not that you need to re do what you are thinking but if you had a field called developer and a field call reviewer.. and then list all the applicable people in each group. Then you could essentially assign the developer and the reviewer to the issue. It's really thinking the issue's developer is and reviewer is...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't really understand what you are trying to tell me here, I am afraid. Just to clarify: There are three user fields (Assignee, Reporter and Reviewer). My placeholder users have multiple of these roles set up in the template. After copying the template issues, I want to replace these placeholders with different users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, what about building an automation temp rule using smart values?
I had previously many changes, so I managed to reduce them down to 2 simple bulk changes:
1. JQL and select everything and add 'whatever label'
2. JQL and select everything and remove 'whatever label'
Automation trigger: when labeling field changes
Filter: if the trigger label is 'whatever label'
Then: do any branching rules:
It will cycle through all issues you marked with a temporary label and do the thing you needed.
Any trigger can work here, comment or scheduled CRON. I just like to use labels, as they leave no tracks (except a small record in history) and works in JS and JSM in all my projects etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alexey Thanks for that suggestion. Unfortunately we are not using Jira Cloud Premium, meaning I only have 500 rule executions per month. I run my rules on a daily basis, meaning that I only need 30 executions per global rule per month. I could use a manually triggered rule for my application though. See the other comments for my remarks there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Jonas Börnickemanual works too. Running the script will consume only 1 automation per use, even if it will affect 100 issues.
Also, you can add more Jira products (just with 1 user) to boost your automation count. If I'm not mistaken, the cheapest way will be Confluence premium.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Jira Administrator
Configure Jira Software, Jira Core, or Jira Service Management, including global settings, permissions, and schemes.
Managing Jira Projects Cloud
Learn to create and configure company-managed projects in Jira Software and partner effectively with Jira Admins.
Learning Path
Become an effective Jira Software Project Admin
This learning path is designed for team leaders who configure Jira Software projects to match a team's processes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.