Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

Announcing the Jira automation template library!

Hi all,  After many months of work, I am delighted to announce the launch of the Jira Automation Template Library!  The Template Library is a new website dedicated to all things Jira au...

1,101 views 19 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you