Request Type not available in Automation

Tom Vian January 14, 2025

I've seen a lot of posts on this but unable to solve the problem.

In short i'm trying to use requestType in Automation.  Its always coming blank.  

Here's what i've tried:
Project: Team managed JSM project

Created a test automation to run as an action on the issue:

Xnip2025-01-14_10-20-36.png

On checking the audit log after triggering - no values are returned:

Xnip2025-01-14_10-22-04.png

One piece of advice i found is that you cannot use requestType in automation if it isn't in your edit screen.  This is a team managed JSM project and as such you can't add the requestType on the edit screen.

I've checked on the project settings > request types > add request type > Fields - and request type isn't available to add.
Xnip2025-01-14_10-25-54.png

 

I've just noticed we have automation working in a different project for request type that is working. 
Xnip2025-01-14_10-54-37.png

2 answers

1 accepted

1 vote
Answer accepted
Matthias Gaiser _K15t_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 14, 2025

Hey @Tom Vian

in team-managed projects the request types don't behave the same as in company-managed ones. This documentation tries to explain it, but to be honest, I didn't get too much useful information from it.

In my understanding request types in team-managed JSM projects are basically the same as issuetypes. So, I'd give it a try and try to access the issuetype of the JSM issue and use this further in your automation.

I came to this conclusion by examining the JSON output when I try to retrieve the issue via REST: BASE_URL/rest/api/2/issue/ISSUE_KEY. You can replace BASE_URL and the ISSUE_KEY with your corresponding values.

Hope this helps,
Matthias.

Tom Vian January 14, 2025

Thank you so much Matthias - that fixed it.

I used the Issue type instead of request type and it all worked.

I've spent hours looking for that - thank you so much.

Like Matthias Gaiser _K15t_ likes this
Matthias Gaiser _K15t_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 14, 2025

You're welcome.

That's what's the community good for - use the swarm intelligence to solve problems together.

0 votes
Tom Vian January 14, 2025

Further to this we do have request type in the custom fields but this is used in a different project.Xnip2025-01-14_10-28-41.png

Suggest an answer

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

Atlassian Community Events