Forums

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

Bug in {{issue.self}} smartvalue?

Mihail Chatlabashev September 27, 2023 edited

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.
September 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 September 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
atlassian, jira product discovery, jpd premium, product management, idea management, product discovery, jira premium, product planning, atlassian community, product development, roadmap planning, product prioritization, feature management

Introducing Jira Product Discovery Premium ✨

Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.

Learn more
AUG Leaders

Atlassian Community Events