Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Smartvalue is not working when using for Project in Create Issue Action

Vikrant Yadav
Community Champion
December 4, 2024

Hi Guys,

Need your help in setting up an automation rule.

Users want to create an issue in another project using Manual Trigger. 

In Manual Trigger, I have added a form which ask for project Name only. Storing project name in variable {{userInputs.projectname}}

Using action : Create Issue to create an issue in that project.In Project field using this value : 

{{userInputs.projectname}}

Getting error that invalid project key. I tried projectkey in userinput and project name also but same error. Kindly suggest, how can I use smartvalue in project field.

Screenshot 2024-12-05 at 12.53.00 PM.pngScreenshot 2024-12-05 at 12.52.40 PM.png

 

1 answer

1 accepted

2 votes
Answer accepted
Leo Prakash_CodeForMe_
Contributor
December 4, 2024

Hi @Vikrant,

while ago I faced the same issue for my use case. I was able to solve it passing project id in project field as smart value

if you need your users to give project key(if they don't know id) then you can setup lookup table with project keys as key and their respective id in value field

Hope this helps you

 

Regards,

Leo

 

Vikrant Yadav
Community Champion
December 5, 2024

Thanks a lot, Leo! 
yes, using Project id it's working fine. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events