Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,289
Community Members
 
Community Events
177
Community Groups

Automation Rule Error: Please select a valid project.

Automation for Jira version 7.2.8:

I am creating a  rule to create 6 sub-task issue types when a Story issue-type is created. 
I start with the Issue created trigger.   The condition is If Issue Type equals Story.

Then a      Create issue    component is added.  Its Project is set to Same Project, Issue type is Sub-task, and the Parent issue is the Trigger issue.

I then set the Summary and Labels field values.  I have selected to set the Assignee and Priority fields to Copy from Trigger issue.

I repeat this for all 6 sub-tasks.  I hit the Publish rule button and then enter the name of the rule and click the Turn it on button.

That's when I get the error Please select a valid project.

I get the same result if I change the Project selection to Same project as trigger  or select the project from the list of projects.

It all seems correct & relatively simple.
Any ideas on what is wrong & where are most appreciated.


 

1 answer

1 accepted

2 votes
Answer accepted

Hi @Kevin Paulus 

Just to confirm some things for context:

  • You are using Jira Cloud, correct?
  • You are trying to create this a global rule, as a site admin, and then selecting one project?

If the answer to both of those is "yes", have you tried to create the same rule for a specific project, from one project's settings?

Best regards,

Bill

Hello Bill,
          No, I am in Jira Server 8.1.0  and this needs to be a project-specific rule.  This particular rule could only make sense in the one project.  

I start in the project > Project settings > Project Automation > Create rule.

Thanks, Kevin!  Would you please post an image of your entire rule for some context?  Thanks!

And, would you please try to create another, very simple rule, and execute it?  That may rule-out other issues with your add-on.  Maybe something like:

  • Trigger: manual
  • Action: log the issue key {{issue.key}}

I did successfully create & execute a Log Issue rule:  

but it was in a different project (one where I am the owner & actor.

Can I create automation rules in projects that I am not a member of?   We have over 300 projects and as a Jira instance admin, I do not want to have to wade through the minutia & nonsense of every project.  I suppose I could just have the project leads do their own automations, but what damage could they do to one another?

I believe you need to be at least a project admin to create/maintain rules for a specific project.  As site admin, you could build and test a rule in one project, and then move/copy/re-assign it to the target project.  That is the process I use with our site admin when I am testing complex new rules in a test project when I do not want to impact the production team's project.

If you are making global rules to span all/multiple projects, you should be able to save a rule if you have necessary access.

Regarding cross-project issues, the project admins can administer rules only for what they can access.  So they cannot easily break other projects.  The exception...if they understand enough to do webrequests and call the REST API, they can certainly solve more issues and get into more mischief with other projects.  ;^)

Like Kevin Paulus likes this

Thank you Bill:

I came to that conclusion as I was returning to the project where the error occurred.  I have asked the project lead to attempt creating the rule he requested.  Hopefully he won't be as slow on the uptake as I was and not require a Zoom meeting for me to walk him through the process.  Actually, it is easy enough to do & I did see that the separation of rules between projects exists so the 300+ project admins can't cross-diddle each others' rules.  Thank you again!

Like Bill Sheboy likes this

can someone provide user manual?

please let me know how to start the project?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events