Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I add custom or standard variables in the following pipe: jira-create-issue:0.2.0


I integrated jira-create-issue:0.2.0 in my pipeline. Defined IssueType is getting created successfully in my project.

My query is, how can I add more variables in the following snippet? I want to use as many fields as possible while creation.

  - pipe: atlassian/jira-create-issue:0.2.0
      JIRA_BASE_URL: "<string>"
      JIRA_USER_EMAIL: "<string>"
      JIRA_API_TOKEN: "<string>"
      JIRA_PROJECT: "<string>"
      JIRA_ISSUE_SUMMARY: "<string>"

I tried to add one Standard variable "assignee":"<accountID>", but after the issue is created, the Assignee field remains blank. (There is not error returned though after script)

1 answer

1 accepted

1 vote
Answer accepted

Hi @Rohan Bhardwaj . Thanks for your question.

As far as i understand according to jira-rest-api-examples and  jira-api-python you can add assignee only on update request, not on create.

Custom fields are supported by the api but not on the pipe.

We will think about  implementing custom fields logic and example, assignee logic and example. We will notify you when these features becomes available.

Regards, Igor.

Thank you very much @Igor Stoyanov I am eagerly waiting for the implementation

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,491 views 4 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you