Forums

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

Jira Automation Authentication

Monica Velasquez October 30, 2025

I'm building a fairly simple automation where 

1 - If an item is transition from Done --> To Archive

2 - the automation does a PUT request to archive the iteam

 

I've tested my Basic Authentication using talend API tester, and it works in a web request. 

 

When I test in Postman I get the following error 

{
"errorMessages": [
"Issue does not exist or you do not have permission to see it."
],
"errors": {}
}

 

3- In my automation I have the following, and throws the following error. I've checked the permissions, and my user is a global admin and also part of the group that allows for archiving. 

 

Any help appreciated.

image.pngimage.png

3 answers

2 votes
Matteo Vecchiato
Community Champion
October 30, 2025

Hi @Monica Velasquez ,

The string after "Basic" must be the Base64 of useremail:api_token.

This question could help you: https://community.atlassian.com/forums/Jira-articles/Automation-for-Jira-Send-web-request-using-Jira-REST-API/ba-p/1443828 

Hope it helps

Monica Velasquez October 30, 2025

Thanks Matteo, I've done this. When I do a GET request via Talend it works and I receive a response. Talend also build the Basic Token in Base64

When I do the same request in Postman, it does not work.

When I use in the automation rule it keeps saying user not logged in

But clearly I'm logged in, as I'm the user building the automation. 

2 votes
Duc Thang TRAN
Contributor
October 30, 2025

Hello @Monica Velasquez 

I think it comes from value of  “authorization”.
For cloud, I'm using:


Key: Authorization
Value: Basic "Base64-encoded email + API token"
(There is a space between Basic and your encoded value)

Hope it help :)

Monica Velasquez October 30, 2025

Thanks Duc, as replied above - I keep having the same issue - but no clue. Tried your suggesstion and is the same. Postman and the automation have auth issue, but Talend does not. 

0 votes
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.
October 30, 2025

Hi @Monica Velasquez -- Welcome to the Atlassian Community!

I recall the endpoint to archive a work item is still considered experimental:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-archive-put

The rule must include the additional header to "opt-in" for its use:

  • Key: X-ExperimentalApi
  • Value: opt-in

 

Kind regards,
Bill

Monica Velasquez October 30, 2025

Added all headers - still issue with authorisation

Monica Velasquez October 30, 2025

Thank you Bill

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.
October 30, 2025

@Monica Velasquez -- Are you repeatedly calling this endpoint with the same work item key? 

  • If so, it is already archived and so fails
  • If not, have you confirmed the token did not get revoked somehow?

 

Monica Velasquez October 30, 2025

Yes, the token is not revoked. Expiry date is in 2026. 

1 - Item is not archived as I'm transitioning manually. 

The automation is such that when a colleague moves the work item from done to 'archive (status)', the item is archived. 

2 - I have tried multiple times, but we keep receiving the same issue even with another admin. 

 

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.
October 30, 2025

As you have tried the common causes of this symptom, and are on a Premium license level, I recommend working with your Jira Product Admin to submit a ticket to Atlassian Support here:

https://support.atlassian.com/contact/#/

I recommend focusing on the automation rule example rather than the standalone endpoint calls.  When you hear back from them, please post what you learn to benefit the community.  Thanks!

Suggest an answer

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

Atlassian Community Events