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
Community Members
Community Events
Community Groups

create an automation rule Create issue where the project is a variable (automation for jira)

Is it possible to create an automation rule Create issue where the project is a variable depending on the value chosen in a custom project picker field?

1 answer

1 accepted

0 votes
Answer accepted

Hey there Marco,

Unfortunately, this isn't possible at the moment (see AUT-416). I'll add a comment on that issue and add a vote to it


Mark C

Hello @Mark Chaimungkalanont ,

Thank you for the solution in AUT-416. I see it is now possible to use smart values. But unfortunately I'm already trying for 6 hours straight to get the Project ID in a situation in which I only know the KEY of the project.

Can you please point me in the right direction to retrieve the Project ID using Smart Values or JQL using the Project Key?

Any help would be very much appreciated.



Hello @Mark Chaimungkalanont ,

I found the solution :) I'm using the API to GET the project using the project KEY. In the response I'm getting the Product ID. It's now working very well :)

For everyone wanting to do the same... When using the API from within an automation script, please be sure to add a header that contains an API key hashed together with your email address Base64 encoded: [emailaddress:apikey].

Like Marco Brundel likes this

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events