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

Marco Brundel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2019

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
Deleted user May 1, 2019

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

Cheers,

Mark C

Peter Blom December 2, 2020

Hello @[deleted] ,

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.

Regards,

Peter

Peter Blom December 2, 2020

Hello @[deleted] ,

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
Tessa Tuteleers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 28, 2023

Hi @Peter Blom , @[deleted] , 

unfortunately the link is not available anymore. Can you give some insights to the solution for this? 
I'm trying to get this to work on server, but can't seem to manage. 

Thanks!!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events