Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

Bug in {{issue.self}} smartvalue?

Edited
Mihail Chatlabashev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 27, 2023

Hello,

 

I am trying to use the {{issue.self}} Smart Value in an automation rule calling a webhook from Jira to external API.

I would expect the Smart Value to return rest/api/2/issue/12345 .

However it produces rest/api/2/12345 , without the /issue/ path. This URL is not accessible and returns 404. 

How can I pass the API path in the automation rule so that I can modify the issue from the  external service?

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
Sep 27, 2023

Hi @Mihail Chatlabashev -- Welcome to the Atlassian Community!

First thing, that appears to be an undocumented smart value regarding rules, but instead is referenced for Forge apps.

Next, when I try that in a rule it does produce a fully described URL.

Would you please post an image of your complete rule, including details of the use of that smart value, and of the audit log details showing the rule execution?  Those may provide context to explain what you are observing.

Kind regards,
Bill

Mihail Chatlabashev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 29, 2023

Hello Bill,

 

Thank you for taking time to test that.

I was able to work around my issue and construct the fully described URL using different smart values.

 

Kind regards,

Mihail

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events